Jump to content

tantan_andrey

Membru
  • Posts

    131
  • Joined

  • Last visited

    Never

Everything posted by tantan_andrey

  1. Salut. Am scos toate masinile din GM, si acuma vreau sa bag eu masini la factiuni cu MTA. Cum fac? Am incercat, am bagat cate-va masini de test, sa vad daca mi le recunoaste. Ex, am bagat de test la PD. Dar nu imi zice nici ca sunt ale PD-ului nici ca nu sunt. Ma sui in ele si sunt masini normale:( Cum sa le fac sa ma dea jos, daca sunt player civilian, sau intr-o alta factiune, sa ma dea jos si sa imi zica ca nu sunt membru al acelei factiuni? Va rog frumos ajutatima. Si scuzati-ma daca nu e bun titlul:(
  2. Salut. Am si eu o problema. Folosesc GM-ul GodFather. Si am facut, ca fiecare player cand intra sa mi se salveze contul lui in scriptfiles/users. Si cred ca undeva am gresit:| Deci de ex: playerul intra la o factiune, .. ii dau licenta, si dupa restart sau relog.. Playerul e civilian la loc, nu are nici licenta nici liderul sau factiunea. Cred ca mai sunt si altele care nu le are dupa relog. Ce sa fac:(
  3. Multumesc frumos Tzaks, mi-a dat niste erori... le-am rezolvat. Acum imi da un warning:( Ma poti ajuta? C:\Users\Ionut\Desktop\SERVER\gamemodes\SERVER.pwn(26314) : warning 203: symbol is never used: "rccounter"
  4. Am la GamemodInt am asa: // Car Spawns for(new h = 0; h < sizeof(HouseInfo); h++) { AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000); gCarLock[h+1] = 1; }//34 AddStaticVehicleEx(596,-1381.9910,457.0832,6.9837,0.1452, 44, 86, 60000);/*Patriot cruiser*/ AddStaticVehicleEx(596,1558.392000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,1569.639000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,-2139.1995,-2393.7671,30.3452,140.7012, 0, 0, 60000);/*CopCruiser*/ AddStaticVehicleEx(425,-1279.8262,493.3734,18.0309,219.1345, -1, -1, 60000);/*Hunter*/ AddStaticVehicleEx(425,-1291.0063,492.3819,18.0305,223.8306, -1, -1, 60000);/*Hunter*/ AddStaticVehicleEx(596,1601.308000,-1621.916000,13.056540,90.0, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,1535.8275,-1678.0283,13.1680,359.9876, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,1561.860000,-1694.905000,6.139762,222.0,-1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(470,-1375.1555,457.5534,6.9837,359.8331,-1, -1, 60000);/*Patriot*/ AddStaticVehicleEx(467,1067.1295,-295.5681,73.7826,179.6040, 90, -1, 60000);/*Hitman Oceanic*/ AddStaticVehicleEx(467,1077.3829,-295.1148,73.7812,180.2754, 90, -1, 60000);/*Hitman Oceanic*/ AddStaticVehicleEx(596,614.8,-588.5,17.4,240.0, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,635.1,-561.5,16.5,180.0, -1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,-2177.5759,-2362.5042,30.4296,141.0939, 0, 0, 60000);/*CopCruiser*/ AddStaticVehicleEx(490,1539.392000,-1646.262000,6.274928,180.0, -1, -1, 60000);/*FBI Rancher*/ AddStaticVehicleEx(490,1531.254000,-1647.431000,6.274976,200.0, -1, -1, 60000);/*FBI Rancher*/ AddStaticVehicleEx(470,-1363.1493,457.1042,6.9836,359.6740, -1, -1, 60000);/*Patriot*/ AddStaticVehicleEx(470,-1355.5931,456.7297,6.9836,0.0286, -1, -1, 60000);/*Patriot*/ AddStaticVehicleEx(596,1535.8459,-1668.7560,13.2653,359.7447,-1, -1, 60000);/*CopCruiser*/ AddStaticVehicleEx(407,-2550.1443,610.7148,14.3281,90.6597, -1, -1, 60000);/*FireTruck*/ AddStaticVehicleEx(596,-2181.2766,-2375.6953,30.3405,231.7148, 0, 0, 60000);/*CopCruiser*/ AddStaticVehicleEx(596,1545.7845,-1684.4004,5.6342,271.1593, 89, 1, 60000);/*General Car*/ AddStaticVehicleEx(596,1530.1611,-1676.0326,5.4563,231.7766, 89, 1, 60000);/*General Car*/ AddStaticVehicleEx(407,-2551.8792,587.1581,14.3281,90.4374,-1, -1, 60000);/*FireTruck*/ AddStaticVehicleEx(497, 1517.8,-1656.1,13.7,0.0, -1, -1, 60000);/*Police Maveric*/ AddStaticVehicleEx(416,-2637.0630,617.3499,14.3281,90.1464, -1, -1, 60000);/*Ambulance*/ AddStaticVehicleEx(416,-2661.4282,617.3460,14.3288,89.2072, -1, -1, 60000);/*Ambulance*/ AddStaticVehicleEx(416,-2662.4568,595.3354,14.3281,273.2716, -1, -1, 60000);/*Ambulance*/ AddStaticVehicleEx(431,1172.5,-1795.5,13.1,0.0, -1, -1, 60000);//64/*Bus*/ AddStaticVehicleEx(431,1182.1,-1795.9,13.1,0.0, -1, -1, 60000);//65/*Bus*/ AddStaticVehicleEx(430,-1443.4342,427.0862,-0.6994,268.8489,-1, -1, 60000);/*NG BOAT*/ AddStaticVehicleEx(430,-1442.0721,390.6206,-0.4339,270.1023,-1, -1, 60000);/*NG BOAT*/ AddStaticVehicleEx(467,1071.9189,-294.9166,73.7250,178.9444,90, -1, 60000);//68/*Hitman Oceanic*/ AddStaticVehicleEx(405,-2082.3562,-117.3896,34.9299,177.0056,17, 17, 60000);//69 Driving School /*Sentinel*/ AddStaticVehicleEx(405,-2072.5933,-117.4564,34.9383,178.0982,17, 17, 60000);//Driving School/*Sentinel*/ AddStaticVehicleEx(405,-2062.4253,-117.6652,34.9347,180.8394,17, 17, 60000);//Driving School/*Sentinel*/ AddStaticVehicleEx(434,551.7929,-1285.5260,16.9303,0.4147,-1, -1, 60000);//Rent car/*Hotknife*/ AddStaticVehicleEx(568,536.9888,-1286.5275,16.9993,359.1704,-1, -1, 60000); //Rent car/*Bandito*/ AddStaticVehicleEx(434,544.1793,-1286.1422,16.9492,7.3116,-1, -1, 60000);//Rent car/*Hotknife*/ AddStaticVehicleEx(434,-1949.9493,258.1949,35.1922,70.7581,-1, -1, 60000); //Rent car/*Hotknife*/ AddStaticVehicleEx(568,-1948.1650,264.8094,35.1930,72.6982,-1, -1, 60000); //Rent car/*Bandito*/ AddStaticVehicleEx(434,-1947.0601,270.3815,35.1954,66.0783,-1, -1, 60000); //Rent car/*Hotknife*/ AddStaticVehicleEx(456,2795.2,-2417.8,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/ AddStaticVehicleEx(456,2783.9,-2417.9,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/ AddStaticVehicleEx(440,2794.1,-2455.9,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/ AddStaticVehicleEx(440,2782.9,-2455.6,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/ AddStaticVehicleEx(420,-1986.4958,115.9394,27.3324,0.1277,-1, -1, 60000);//Taxi/*Taxi*/ AddStaticVehicleEx(487,-2703.3201,624.0250,14.1766,180.2649, 1, 3, 60000);//Medic Chopper/*Maverick*/ AddStaticVehicleEx(420,-1986.5049,129.1749,27.3299,359.6938,-1, -1, 60000);//Taxi/*Taxi*/ AddStaticVehicleEx(420,-1986.4310,150.1195,27.3299,0.0329,-1, -1, 60000);//Taxi //CAR ID 85/*Taxi*/ AddStaticVehicleEx(452,720.1,-1694.0,-0.4,179.4,-1,-1,60000);//Fishboat/*Speeder*/ AddStaticVehicleEx(452,721.2,-1629.4,-0.4,180.9,-1,-1,60000);//Fishboat/*Speeder*/ AddStaticVehicleEx(452,739.5,-1670.5,-0.6,177.5,-1,-1,60000);//Fishboat/*Speeder*/ AddStaticVehicleEx(452,-1474.4949,693.0169,0.1996,0.0751,-1,-1,60000);//Fishboat SF/*Speeder*/ AddStaticVehicleEx(452,-1720.0717,1439.6177,-0.4913,357.6789,-1,-1,60000);//Fishboat SF/*Speeder*/ AddStaticVehicleEx(520,-1430.4078,508.1596,18.9400,269.6329,44,86,60000);//NG Plane id 91 AddStaticVehicleEx(520,-1419.9038,493.5340,18.9350,269.6848,44,86,60000);//NG Plane id 92 AddStaticVehicleEx(520,-1398.6207,507.7513,18.9328,269.8143,44,86,60000); //NG Plane id 93 AddStaticVehicleEx(420,-1986.6089,163.8508,27.4837,359.5881,-1,-1,60000);//Taxi AddStaticVehicleEx(487,1088.1736,-294.8004,73.7886,134.9237, 0, 1, 60000); //Hitman Chopper AddStaticVehicleEx(488,-2044.1797,479.9963,35.1399,180.0648,-1,-1,60000); // newschopper AddStaticVehicleEx(582,-2022.6146,458.6767,35.1414,0.7133,-1,-1,60000); // newsvan AddStaticVehicleEx(582,-2031.3779,459.0133,35.1362,359.7429,-1,-1,60000); // newsvan AddStaticVehicleEx(593,382.5172,2536.9561,16.5338,179.7261,-1,-1,60000);//Flyschool AddStaticVehicleEx(513,348.3660,2536.9792,16.7418,178.8195,-1,-1,60000);//Flyschool AddStaticVehicleEx(487,365.4068,2537.0327,16.6645,181.9959,-1,-1,60000);//Flyschool AddStaticVehicleEx(593,-1429.2843,-505.8203,13.7824,205.7709,-1,-1,60000);//Airport SF AddStaticVehicleEx(593,-1462.4779,-524.2803,13.7832,204.8137,-1,-1,60000);//Airport SF AddStaticVehicleEx(593,1907.7614,-2624.4097,13.5416,53.1810,-1,-1,60000);//Airport LS AddStaticVehicleEx(593,1887.0736,-2627.6543,13.5394,52.6116,-1,-1,60000);//Airport LS AddStaticVehicleEx(513,-1354.3270,-466.5467,13.7827,162.0134,-1,-1,60000);//Airport SF AddStaticVehicleEx(513,-1390.3510,-482.7985,13.7883,250.3124,-1,-1,60000);//Airport SF AddStaticVehicleEx(513,1835.3215,-2624.1938,13.5405,56.0569,-1,-1,60000);//Airport LS AddStaticVehicleEx(513,1813.2893,-2625.6296,13.5394,53.2858,-1,-1,60000);//Airport LS AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,60000); // kart AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,60000); // kart AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,60000); // kart AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,60000); // kart AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,60000); // kart AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,60000); // kart CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000); //hotring 116 CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,60000); //hotring CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,60000); //hotring CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,60000); //hotring CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,60000); //bike 120 CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,60000); //bike CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,60000); //bike CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,60000); //bike CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,60000); // bike 124 CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,60000); // bike CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,60000); // bike CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,60000); // bike CreateVehicle(514,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,60000); // truck CreateVehicle(514,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,60000); // truck CreateVehicle(514,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,60000); // truck CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,60000); // trailer CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,60000); // trailer CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,60000); // trailer LinkVehicleToInterior(116, 7); LinkVehicleToInterior(117, 7); LinkVehicleToInterior(118, 7); LinkVehicleToInterior(119, 7); LinkVehicleToInterior(120, 4); LinkVehicleToInterior(121, 4); LinkVehicleToInterior(122, 4); LinkVehicleToInterior(123, 4); LinkVehicleToInterior(124, 14); LinkVehicleToInterior(125, 14); LinkVehicleToInterior(126, 14); LinkVehicleToInterior(127, 14); Le scot si pe acelea ci LinkVehicleToInterior ? Pe langa alea cu AddStaticveh. Mai scot si asta? [code] // Car Spawns for(new h = 0; h < sizeof(HouseInfo); h++) { AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000); gCarLock[h+1] = 1;
  5. Salut. Am si eu o problema:( Vreau sa scot toate masinile de pe server inclusiv cele de la factiuni. Toate masinile ToT ToT ToT. Am incercat sa le scot pe acelea AddStaticVehicle... Si tot mai sunt masini. Folosesc Gm-ul GodFather
  6. Salutare. As vrea sa fac si eu motoarele acestea: [move] AddStaticVehicleEx(461,1396.49060059,-1901.40368652,13.04118061,114.10205078,-1,-1,15); //PCJ-600 AddStaticVehicleEx(462,1379.80859375,-1893.65258789,13.12617207,140.38446045,-1,-1,15); //Faggio AddStaticVehicleEx(462,1389.62426758,-1893.82177734,13.10605049,140.38330078,-1,-1,15); //Faggio AddStaticVehicleEx(463,1382.32238770,-1893.64050293,13.04944515,148.07659912,-1,-1,15); //Freeway AddStaticVehicleEx(463,1387.27526855,-1893.71545410,13.01988029,203.62921143,-1,-1,15); //Freeway AddStaticVehicleEx(468,1392.06262207,-1893.60009766,13.11517429,212.22229004,-1,-1,15); //Sanchez AddStaticVehicleEx(468,1396.66137695,-1893.76525879,13.17427731,151.31994629,-1,-1,15); //Sanchez AddStaticVehicleEx(471,1394.27954102,-1893.66455078,12.95999527,165.34185791,-1,-1,15); //Quad AddStaticVehicleEx(468,1384.87292480,-1893.53356934,13.16338825,212.21740723,-1,-1,15); //Sanchez AddStaticVehicleEx(522,1368.35791016,-1899.19104004,13.09327602,355.72656250,-1,-1,15); //NRG-500 AddStaticVehicleEx(521,1377.30529785,-1883.63879395,13.04846573,59.82855225,-1,-1,15); //FCR-900 AddStaticVehicleEx(521,1377.24926758,-1889.13500977,13.06780529,59.82604980,-1,-1,15); //FCR-900 AddStaticVehicleEx(586,1368.12890625,-1883.98205566,13.04666042,235.89794922,-1,-1,15); //Wayfarer AddStaticVehicleEx(586,1368.21752930,-1889.07958984,13.04502201,235.89294434,-1,-1,15); //Wayfarer AddStaticVehicleEx(581,1377.07653809,-1886.15808105,13.04613781,119.61523438,-1,-1,15); //BF-400 AddStaticVehicleEx(581,1368.30517578,-1886.66198730,13.14074802,298.92999268,-1,-1,15); //BF-400[/move] Sa le fac cu /rentbike Cum sa le fac, cand intru in ele sa le pot conduce numai daca le inchiriez:( Va rog frumos
  7. Salut. Am si eu o intrebare:(. Cum se creaza masini personale, in masini.cfg, am luat carownership de aici http://www.sa-mp.ro/forum/index.php?topic=12269.0 si nu stiu cum sa creez masinile personale:( Ma puteti ajuta si pe mine, va rog frumos
  8. Aoleoo:| Imi cer scuze pentru postul acesta aiurea, am uitat ca merge sa scriu chiar daca sunt admin:( Doamne.. Imi cer mii de scuze:(
  9. Salut. Am si eu o problema la chaturile /o si /n:( cand dau /noooc, sa il inchid dupa ce zice ca e inchis tot pot sa scriu pe /o aceiasi problema si la /n ce sa fac?:| Comenzile sunt urmatoarele: /o: //----------------------------------[ooc]----------------------------------------------- if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_WHITE, "You havent logged in yet !"); return 1; } if ((noooc) && PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GRAD2, "Chatul OOC a fost dezactivat de catre un Admin !"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You can't speak, you have been silenced !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; result[0] = toupper(result[0]); if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/o)oc [ooc chat]"); return 1; } if(PlayerInfo[playerid][pAdmin] < 1) { if(FindIP(result)) { SendClientMessage(playerid, COLOR_ADMIN, "[Anti-Cheat]: You have been kicked by anti cheat for Server Advertising !(KICK)"); new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "[Anti-Cheat]: %s was -kicked-, reason: Server Advertising",advertiser); SendClientMessageToAll(COLOR_LIGHTRED,string); KickLog(string); Kick(playerid); return 1; } format(string, sizeof(string), "(( %s: %s ))", sendername, result); OOCOff(COLOR_OOC,string); printf("%s", string); } else if(PlayerInfo[playerid][pAdmin] >= 1) { if(FindIP(result)) { SendClientMessage(playerid, COLOR_ADMIN, "[Anti-Cheat]: You have been kicked by anti cheat for Server Advertising !(KICK)"); new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "[Anti-Cheat]: %s was -kicked-, reason: Server Advertising",advertiser); SendClientMessageToAll(COLOR_LIGHTRED,string); KickLog(string); Kick(playerid); return 1; } format(string, sizeof(string), "(( Admin {F81414}%s: {FFFFFF}%s ))", sendername, result); OOCOff(COLOR_OOC,string); printf("%s", string); } } return 1; } /n: if(strcmp(cmd, "/newbie", true) == 0 || strcmp(cmd, "/n", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_WHITE, "You havent logged in yet !"); return 1; } if ((stopnew) && PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_WHITE, "The newbie channel has been disabled by an Admin !"); return 1; } if(PlayerInfo[playerid][pLevel] >= 5) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You're not a newbie,you're past level 5 so you do not have access to this command"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You can't speak, you have been silenced !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/n)ewbie [text]"); return 1; } if(PlayerInfo[playerid][pAdmin] < 1) { format(string, sizeof(string), "(N)Newbie %s Level(%d) : %s", sendername, PlayerInfo[playerid][pLevel], result); OOCOff(COLOR_LIME,string); printf("%s", string); } else if(PlayerInfo[playerid][pAdmin] >= 1) { format(string, sizeof(string), "(N)Admin %s Level(%d): %s", sendername, PlayerInfo[playerid][pLevel], result); OOCOff(COLOR_LIME,string); printf("%s", string); } } return 1; }
  10. public IsABus(carid) { if(carid == 36 || carid == 35) { return 1; } return 0; }
  11. Scuze 4x post! IsaBus.. este: if(IsABus(tmpcar)) Id-urile autobuzelor sunt: 431 si 431 2 autobuze cu id-urile 431
  12. Scuze pentru Triplu post, dar unde anume in isabuscar sa pun id-urile dami un exemplu te rog frumos
  13. Scuze pentru Dubllu Post, in loc de isabuscar sa pun if(carid == 36 || carid == 35) ?
  14. Salutare all! Am si eu o problema cu comenzile /lsroute si /sfroute:( Imi iau jobul, ma duc la autobuzele de la gara si cand ma sui in ele sa dau /lsroute sau /sfroute zice ca nu sunt in AutoBuz :| comenzile sunt: //----------------------------------[Ls Route]----------------------------------------------- if(strcmp(cmd, "/lsroute", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 14) { new tmpcar = GetPlayerVehicleID(playerid); if(IsABus(tmpcar)) { CP[playerid] = 150; SetPlayerCheckpoint(playerid, 1493.9727,-1726.4873,13.5469, 4.0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata"); SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din gara Los Santos.Urmatoarea statie:PDLS>>"); } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver"); return 1; } } return 1; } //----------------------------------[SF Route]----------------------------------------------- if(strcmp(cmd, "/sfroute", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 14) { new tmpcar = GetPlayerVehicleID(playerid); if(IsABus(tmpcar)) { CP[playerid] = 156; SetPlayerCheckpoint(playerid, -2003.8007,148.5716,27.539, 4.0); SendClientMessage(playerid, COLOR_LIGHTBLUE, "Urmareste checkpointurile pentru a lua plata"); SendClientMessageToAll(COLOR_BUS,"<<Autobuzul a plecat din Gara sf.Urmatoarea statie:Intrarea in Ls>>"); } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not in Bus"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD1,"You are not a bus driver"); return 1; } } return 1; } SPECIFIC ! Am mai avut o data problema aceasta:( si din pacate am rezolvato tot cu un baiat de pe sa-mp.ro:| dar nu mai stiu cum sa o re-fac. Multumesc.
  15. Salut. Am si eu o problema la Server:( Le da "CRASH" Singur la Playeri:( Am scos si comanda de Crash si tot da Deci ce sa fac:((
  16. Salut. Am si eu o intrebare, cum sa rezolv si eu aceste warninguri? C:\Users\Ionut\Desktop\RolePlay\pawno\include\JunkBuster.inc(3237) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") C:\Users\Ionut\Desktop\RolePlay\gamemodes\SAMP.pwn(20304) : warning 213: tag mismatch C:\Users\Ionut\Desktop\RolePlay\gamemodes\SAMP.pwn(35789) : warning 213: tag mismatch C:\Users\Ionut\Desktop\RolePlay\gamemodes\SAMP.pwn(35790) : warning 213: tag mismatch C:\Users\Ionut\Desktop\RolePlay\gamemodes\SAMP.pwn(67448) : warning 203: symbol is never used: "MakePlayerNumber" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 14124 bytes Code size: 2714140 bytes Data size: 10674640 bytes Stack/heap size: 16384 bytes; estimated max. usage=5517 cells (22068 bytes) Total requirements:13419288 bytes 6 Warnings. Asa acuma liniile: 3237 - {279}, //23 20304 - vid=GetPlayerVehicleID(playerid); 35789 - GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); 35790 - PlayerInfo[playerid][pEvaTool] -= pEvaTool; 67448 - Este ultima din GM deci nu am ce sa arat aici:| Va rog sa ma ajutati
  17. Salut. Am si eu GM-ul Xerom Zone, acela GodFather, si are radio inclus. Cand scriu comanda /radio ma pune sa imi aleg eu de acolo din lista ce radio vreau, Kiss FM, Radio manele... Asa si cand dau dublu click pe ce radio vreau sa ascult, imi apare ca porneste si ca e pornit. Si eu nu aud nimic. Adica nu canta nimic.
  18. Salut. Am si eu comanda /respawn:|, si am setat cand intru pe server sa ma spawneze dintr-un alt loc. Cand dau /respawn ma spawneaza tot de la locul original din joc:| Cum sa fac sa ma spawneze ori in LS ori in Sf cum am ales eu la inceput cand am intrat pe sv:(
  19. Am 2 warninguri acolo la include acuma:( dar nu stiu de ce:( uitati liniile: 435 C:\Users\Ionut\Desktop\SAMP\pawno\include\Streamer.inc(435) : warning 202: number of arguments does not match definition 449 C:\Users\Ionut\Desktop\SAMP\pawno\include\Streamer.inc(449) : warning 202: number of arguments does not match definition :|
  20. Pai de aici am luat si eu Pluginul ==> http://forum.sa-mp.com/showthread.php?t=102865 :| si imi da warningul acela
  21. Salut. Cum pot sa pun si eu un anti-chat, adica sa nu faca playeri spam, si sa nu scrie ip-uri, sau adrese din alea de ex "samp.test:7777" in ori-ce chat si sa ii dea kick ! Ma ajutati?
  22. Pai si imi puteti da si mie un streamer bun?
  23. Warning-ul este: C:\Users\Ionut\Desktop\.RP.\RP\pawno\include\streamer.inc(444) : warning 202: number of arguments does not match definition
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.