Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van. 422
Segítségkérés / hogy lehet olyat hogy az autó nem robban fel?« Dátum: 2011. november 29. - 15:50:31 »
Én ezt használom!
Készítõ: Pedró [pawn]public OnPlayerUpdate(playerid) { if(IsPlayerInAnyVehicle(playerid)) { RepairVehicle(GetPlayerVehicleID(playerid)); SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0); } return 1; }[/pawn] 423
Segítségkérés / pozció mentõ« Dátum: 2011. november 29. - 15:42:01 »
Tessék adom a sajátom:
[pawn]enum SavePosENUM { Float:sX, Float:sY, Float:sZ, Float:sA, SavedPos }; new SavePos[MAX_PLAYERS][savePosENUM]; CMD:sp(playerid,params[]) { if (IsPlayerInAnyVehicle(playerid)) { GetVehiclePos(GetPlayerVehicleID(playerid), SavePos[playerid][sX], SavePos[playerid][sY], SavePos[playerid][sZ]); GetVehicleZAngle(GetPlayerVehicleID(playerid), SavePos[playerid][sA]); } else { GetPlayerPos(playerid, SavePos[playerid][sX], SavePos[playerid][sY], SavePos[playerid][sZ]); GetPlayerFacingAngle(playerid, SavePos[playerid][sA]); } SavePos[playerid][savedPos] = 1; return SendClientMessage(playerid,SZINKÓD, \"Pozíciód sikeresen elmentve.\"); } CMD:lp(playerid,params[]) { if (SavePos[playerid][savedPos] == 0) return SendClientMessage(playerid,SZINKÓD, \"Poziciód nincsen mentve.\"); if (IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid), SavePos[playerid][sX], SavePos[playerid][sY], SavePos[playerid][sZ]); SetVehicleZAngle(GetPlayerVehicleID(playerid), SavePos[playerid][sA]); } else { SetPlayerPos(playerid, SavePos[playerid][sX], SavePos[playerid][sY], SavePos[playerid][sZ]); SetPlayerFacingAngle(playerid, SavePos[playerid][sA]); } return SendClientMessage(playerid,SZINKÓD, \"Sikeres visszateleportálás\"); } [/pawn] 424
Segítségkérés / Progress bar + textdraw« Dátum: 2011. november 28. - 20:52:57 »
Akkor nem fog keveredni.
425
Segítségkérés / több soros üzenet dialogot hogy lehet csinálni?« Dátum: 2011. november 28. - 20:43:37 »426
Segítségkérés / Progress bar + textdraw« Dátum: 2011. november 28. - 20:32:01 »
Nem.
Az én szerveremben is volt mind a kettõ típus és ment rendesen. 427
Segítségkérés / Miért van az hogy dm be ha meghal akkor bugol?« Dátum: 2011. november 28. - 20:24:21 »
Hát fogalmam sincs.
Az OnPlayerDeath-nél ezt a részt bemásolnád? 428
Segítségkérés / hogy lehet olyat hogy rossz parancs setén dobjon egy üzit?« Dátum: 2011. november 28. - 20:21:31 »
PL:
[pawn]public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/mind1mienparancs\", cmdtext, true, 10) == 0) { ..stb..stb return 1; } return SendClientMessage(playerid,0xFFFFFFFF,\"Ismeretlen parancs!\");// ez a lényeg, hogy végénél ne return 0 legyen! }[/pawn] 429
Kérdések, Segítség / Videóvágó« Dátum: 2011. november 28. - 20:13:48 »
Hát ezekben nem vagyok jártas, de talán a Windows Movie Maker programmal sikerülhet.
430
Segítségkérés / Zene leállítása.« Dátum: 2011. november 27. - 13:53:10 »
Vagy ezt:
[pawn]PlayerPlaySound(playerid, 1063, 0.0, 0.0, 10.0);[/pawn] 431
Segítségkérés / futás« Dátum: 2011. november 27. - 13:51:38 »
OngameModeinit alá:
UsePlayerPedAnims(); 432
Segítségkérés / Dinivel hogy lehet scriptfileba név.init létrehozni?« Dátum: 2011. november 27. - 01:26:26 »
Itt egy példa: (Nem én írtam)
[pawn]#include <a_samp> #include <dini> #include <dudb> public OnPlayerConnect(playerid) { //Score Saver new string[128], PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), \"Scores/%s.ini\", PlayerName); if(fexist(string)) { SetPlayerScore(playerid, dini_Int(string, \"Score\")); } else { dini_Create(string); dini_IntSet(string, \"Score\", 0); } } public OnPlayerDisconnect(playerid, reason) { new string[128], PlayerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), \"Scores/%s.ini\", PlayerName); if(fexist(string)) { dini_IntSet(string, \"Score\", GetPlayerScore(playerid)); } else { dini_Create(string); dini_IntSet(string, \"Score\", GetPlayerScore(playerid)); } }[/pawn] 433
SA-MP: Szerverfejlesztés / Börtön letöltési link módosítva,rosszat tettem fel« Dátum: 2011. november 27. - 01:21:40 »Idézetet írta: travisbarker date=1322351543\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"12828\" data-ipsquote-contentclass=\"forums_Topic Elsõnek jó! Gyakorolj és lesz jobb is 434
Segítségkérés / Nem tudok csatlakozni samp szerveremre« Dátum: 2011. november 27. - 01:18:10 »
A portot rakd 8888 talán így menni fog
435
Szkript kérések / Race checkpoint, verseny script« Dátum: 2011. november 27. - 01:11:35 »
[pawn]#include <a_samp>
new RaceCheckpoint[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/dm\", cmdtext, true, 10) == 0) { //SetPlayerRaceCheckpoint(playerid,); RaceCheckpoint[playerid] = 0; return 1; } return 0; } public OnPlayerEnterCheckpoint(playerid) { if(RaceCheckpoint[playerid] == 0) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2283.755859,-1685.140014,481.004974,-2259.139892,-1708.513671,479.264068,3); /* Whetstone */ RaceCheckpoint[playerid] = 1; } else if(RaceCheckpoint[playerid] == 1) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2259.139892,-1708.513671,479.264068,-2231.353515,-1739.396240,481.035827,3); /* Whetstone */ RaceCheckpoint[playerid] = 2; } else if(RaceCheckpoint[playerid] == 2) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2231.353515,-1739.396240,481.035827,-2187.315185,-1789.123901,413.345184,3); /* Whetstone */ RaceCheckpoint[playerid] = 3; } else if(RaceCheckpoint[playerid] == 3) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2187.315185,-1789.123901,413.345184,-2101.107177,-1840.546020,302.644256,3); /* Whetstone */ RaceCheckpoint[playerid] = 4; } else if(RaceCheckpoint[playerid] == 4) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2101.107177,-1840.546020,302.644256,-1973.274047,-1841.944702,37.896820,3); /* Shady Creeks */ RaceCheckpoint[playerid] = 5; } else if(RaceCheckpoint[playerid] == 5) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1973.274047,-1841.944702,37.896820,-1943.616333,-1796.596191,32.145145,3); /* Shady Creeks */ RaceCheckpoint[playerid] = 6; } else if(RaceCheckpoint[playerid] == 6) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1943.616333,-1796.596191,32.145145,-1894.254516,-1723.961425,21.314544,3); /* Whetstone */ RaceCheckpoint[playerid] = 7; } else if(RaceCheckpoint[playerid] == 7) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1894.254516,-1723.961425,21.314544,-1856.796508,-1679.851806,21.315811,3); /* Whetstone */ RaceCheckpoint[playerid] = 8; } else if(RaceCheckpoint[playerid] == { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1856.796508,-1679.851806,21.315811,-1830.584594,-1664.115844,21.314420,3); /* Whetstone */ RaceCheckpoint[playerid] = 9; } else if(RaceCheckpoint[playerid] == 9) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1830.584594,-1664.115844,21.314420,-1794.490844,-1630.377563,22.052434,3); /* Whetstone */ RaceCheckpoint[playerid] = 10; } else if(RaceCheckpoint[playerid] == 10) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1794.490844,-1630.377563,22.052434,-1779.961425,-1600.689697,21.315914,3); /* Whetstone */ RaceCheckpoint[playerid] = 11; } else if(RaceCheckpoint[playerid] == 11) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1779.961425,-1600.689697,21.315914,-1830.102172,-1562.895629,21.314634,3); /* Whetstone */ RaceCheckpoint[playerid] = 12; } else if(RaceCheckpoint[playerid] == 12) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1830.102172,-1562.895629,21.314634,-1904.270019,-1496.126464,19.842153,3); /* Whetstone */ RaceCheckpoint[playerid] = 13; } else if(RaceCheckpoint[playerid] == 13) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1904.270019,-1496.126464,19.842153,-1928.171752,-1463.253295,16.731847,3); /* Whetstone */ RaceCheckpoint[playerid] = 14; } else if(RaceCheckpoint[playerid] == 14) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1928.171752,-1463.253295,16.731847,-1970.747314,-1422.822143,22.205207,3); /* Whetstone */ RaceCheckpoint[playerid] = 15; } else if(RaceCheckpoint[playerid] == 15) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1970.747314,-1422.822143,22.205207,-2034.428955,-1360.963134,27.429855,3); /* Whetstone */ RaceCheckpoint[playerid] = 16; } else if(RaceCheckpoint[playerid] == 16) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2034.428955,-1360.963134,27.429855,-2085.549560,-1293.751220,34.870525,3); /* Whetstone */ RaceCheckpoint[playerid] = 17; } else if(RaceCheckpoint[playerid] == 17) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2085.549560,-1293.751220,34.870525,-2121.008544,-1250.899536,35.578342,3); /* Foster Valley */ RaceCheckpoint[playerid] = 18; } else if(RaceCheckpoint[playerid] == 18) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2121.008544,-1250.899536,35.578342,-2180.950927,-1201.717651,15.964587,3); /* Whetstone */ RaceCheckpoint[playerid] = 19; } else if(RaceCheckpoint[playerid] == 19) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2180.950927,-1201.717651,15.964587,-2241.742431,-1139.401000,15.236948,3); /* Whetstone */ RaceCheckpoint[playerid] = 20; } else if(RaceCheckpoint[playerid] == 20) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2241.742431,-1139.401000,15.236948,-2298.361572,-1071.160278,15.236420,3); /* San Fierro */ RaceCheckpoint[playerid] = 21; } else if(RaceCheckpoint[playerid] == 21) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2298.361572,-1071.160278,15.236420,-2372.520019,-997.995727,15.240242,3); /* San Fierro */ RaceCheckpoint[playerid] = 22; } else if(RaceCheckpoint[playerid] == 22) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2372.520019,-997.995727,15.240242,-2445.329345,-963.597961,12.835873,3); /* San Fierro */ RaceCheckpoint[playerid] = 23; } else if(RaceCheckpoint[playerid] == 23) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2445.329345,-963.597961,12.835873,-2519.375976,-966.645202,22.303102,3); /* San Fierro */ RaceCheckpoint[playerid] = 24; } else if(RaceCheckpoint[playerid] == 24) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2519.375976,-966.645202,22.303102,-2578.294433,-962.111267,20.114934,3); /* San Fierro */ RaceCheckpoint[playerid] = 25; } else if(RaceCheckpoint[playerid] == 25) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2578.294433,-962.111267,20.114934,-2626.259521,-1000.431030,12.711829,3); /* San Fierro */ RaceCheckpoint[playerid] = 26; } else if(RaceCheckpoint[playerid] == 26) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2626.259521,-1000.431030,12.711829,-2710.340087,-1055.997070,13.533524,3); /* San Fierro */ RaceCheckpoint[playerid] = 27; } else if(RaceCheckpoint[playerid] == 27) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2710.340087,-1055.997070,13.533524,-2764.496337,-1100.555786,15.236702,3); /* San Fierro */ RaceCheckpoint[playerid] = 28; } else if(RaceCheckpoint[playerid] == 28) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2764.496337,-1100.555786,15.236702,-2829.245849,-1156.040527,15.008112,3); /* Whetstone */ RaceCheckpoint[playerid] = 29; } else if(RaceCheckpoint[playerid] == 29) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2829.245849,-1156.040527,15.008112,-2880.556884,-1190.128051,9.774760,3); /* Whetstone */ RaceCheckpoint[playerid] = 30; } else if(RaceCheckpoint[playerid] == 30) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2880.556884,-1190.128051,9.774760,-2910.974365,-1180.579223,9.012632,3); /* Whetstone */ RaceCheckpoint[playerid] = 31; } else if(RaceCheckpoint[playerid] == 31) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2910.974365,-1180.579223,9.012632,-2870.159179,-921.814941,9.215334,3); /* San Fierro */ RaceCheckpoint[playerid] = 32; } else if(RaceCheckpoint[playerid] == 32) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2870.159179,-921.814941,9.215334,-2867.969482,-905.317565,8.929454,3); /* San Fierro */ RaceCheckpoint[playerid] = 33; } else if(RaceCheckpoint[playerid] == 33) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2867.969482,-905.317565,8.929454,-2861.032226,-852.787719,6.988295,3); /* San Fierro */ RaceCheckpoint[playerid] = 34; } else if(RaceCheckpoint[playerid] == 34) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2861.032226,-852.787719,6.988295,-2862.031494,-752.794555,6.766124,3); /* Missionary Hill */ RaceCheckpoint[playerid] = 35; } else if(RaceCheckpoint[playerid] == 35) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2862.031494,-752.794555,6.766124,-2853.395263,-633.901916,6.767859,3); /* Missionary Hill */ RaceCheckpoint[playerid] = 36; } else if(RaceCheckpoint[playerid] == 36) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2853.395263,-633.901916,6.767859,-2797.566894,-505.733032,6.804606,3); /* Missionary Hill */ RaceCheckpoint[playerid] = 37; } else if(RaceCheckpoint[playerid] == 37) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2797.566894,-505.733032,6.804606,-2739.952880,-440.031219,6.944630,3); /* Missionary Hill */ RaceCheckpoint[playerid] = 38; } else if(RaceCheckpoint[playerid] == 38) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2739.952880,-440.031219,6.944630,-2585.930419,-351.137481,20.966556,3); /* Avispa Country Club */ RaceCheckpoint[playerid] = 39; } else if(RaceCheckpoint[playerid] == 39) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2585.930419,-351.137481,20.966556,-2403.327392,-341.600067,36.653312,3); /* Avispa Country Club */ RaceCheckpoint[playerid] = 40; } else if(RaceCheckpoint[playerid] == 40) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2403.327392,-341.600067,36.653312,-2239.781738,-346.734375,37.877052,3); /* Foster Valley */ RaceCheckpoint[playerid] = 41; } else if(RaceCheckpoint[playerid] == 41) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2239.781738,-346.734375,37.877052,-2126.378662,-348.243804,34.726486,3); /* Foster Valley */ RaceCheckpoint[playerid] = 42; } else if(RaceCheckpoint[playerid] == 42) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2126.378662,-348.243804,34.726486,-2073.457031,-349.493652,35.032024,3); /* Foster Valley */ RaceCheckpoint[playerid] = 43; } else if(RaceCheckpoint[playerid] == 43) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2073.457031,-349.493652,35.032024,-2007.758178,-350.105468,36.103233,3); /* Foster Valley */ RaceCheckpoint[playerid] = 44; } else if(RaceCheckpoint[playerid] == 44) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-2007.758178,-350.105468,36.103233,-1881.697265,-298.613708,50.535633,3); /* Doherty */ RaceCheckpoint[playerid] = 45; } else if(RaceCheckpoint[playerid] == 45) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1881.697265,-298.613708,50.535633,-1871.061157,-185.098876,41.491024,3); /* Doherty */ RaceCheckpoint[playerid] = 46; } else if(RaceCheckpoint[playerid] == 46) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1871.061157,-185.098876,41.491024,-1890.698852,6.273592,37.966205,3); /* Doherty */ RaceCheckpoint[playerid] = 47; } else if(RaceCheckpoint[playerid] == 47) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1890.698852,6.273592,37.966205,-1870.907470,193.619812,38.073650,3); /* Doherty */ RaceCheckpoint[playerid] = 48; } else if(RaceCheckpoint[playerid] == 48) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1870.907470,193.619812,38.073650,-1803.406250,388.931549,38.270374,3); /* Downtown */ RaceCheckpoint[playerid] = 49; } else if(RaceCheckpoint[playerid] == 49) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1803.406250,388.931549,38.270374,-1652.695678,549.040649,38.274166,3); /* Easter Basin */ RaceCheckpoint[playerid] = 50; } else if(RaceCheckpoint[playerid] == 50) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1652.695678,549.040649,38.274166,-1426.621704,786.570068,46.804473,3); /* Esplanade East */ RaceCheckpoint[playerid] = 51; } else if(RaceCheckpoint[playerid] == 51) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1426.621704,786.570068,46.804473,-1201.403808,1024.273193,41.943519,3); /* Garver Bridge */ RaceCheckpoint[playerid] = 52; } else if(RaceCheckpoint[playerid] == 52) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1201.403808,1024.273193,41.943519,-1083.049316,1148.331054,37.575572,3); /* Tierra Robada */ RaceCheckpoint[playerid] = 53; } else if(RaceCheckpoint[playerid] == 53) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1083.049316,1148.331054,37.575572,-1026.295043,1179.448120,36.038398,3); /* Robada Intersection */ RaceCheckpoint[playerid] = 54; } else if(RaceCheckpoint[playerid] == 54) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-1026.295043,1179.448120,36.038398,-947.525512,1063.201782,24.998910,3); /* Tierra Robada */ RaceCheckpoint[playerid] = 55; } else if(RaceCheckpoint[playerid] == 55) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-947.525512,1063.201782,24.998910,-903.570068,923.525207,18.578025,3); /* Tierra Robada */ RaceCheckpoint[playerid] = 56; } else if(RaceCheckpoint[playerid] == 56) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-903.570068,923.525207,18.578025,-685.938842,667.919921,16.362575,3); /* Tierra Robada */ RaceCheckpoint[playerid] = 57; } else if(RaceCheckpoint[playerid] == 57) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-685.938842,667.919921,16.362575,-498.685760,584.371276,16.509038,3); /* Red County */ RaceCheckpoint[playerid] = 58; } else if(RaceCheckpoint[playerid] == 58) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-498.685760,584.371276,16.509038,-372.984710,552.738586,16.114707,3); /* Red County */ RaceCheckpoint[playerid] = 59; } else if(RaceCheckpoint[playerid] == 59) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-372.984710,552.738586,16.114707,-136.331848,568.230468,15.621297,3); /* Red County */ RaceCheckpoint[playerid] = 60; } else if(RaceCheckpoint[playerid] == 60) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,-136.331848,568.230468,15.621297,118.817039,677.951171,5.507725,3); /* Bone County */ RaceCheckpoint[playerid] = 61; } else if(RaceCheckpoint[playerid] == 61) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,118.817039,677.951171,5.507725,304.906585,752.438781,5.859712,3); /* Bone County */ RaceCheckpoint[playerid] = 62; } else if(RaceCheckpoint[playerid] == 62) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,304.906585,752.438781,5.859712,507.364959,698.457946,3.354593,3); /* Bone County */ RaceCheckpoint[playerid] = 63; } else if(RaceCheckpoint[playerid] == 63) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,507.364959,698.457946,3.354593,737.935058,659.633972,10.387426,3); /* Bone County */ RaceCheckpoint[playerid] = 64; } else if(RaceCheckpoint[playerid] == 64) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,737.935058,659.633972,10.387426,928.908813,720.898742,10.435446,3); /* Las Venturas */ RaceCheckpoint[playerid] = 65; } else if(RaceCheckpoint[playerid] == 65) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,928.908813,720.898742,10.435446,1096.093750,809.836425,10.459232,3); /* Las Venturas */ RaceCheckpoint[playerid] = 66; } else if(RaceCheckpoint[playerid] == 66) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1096.093750,809.836425,10.459232,1216.055541,867.520141,12.625346,3); /* Blackfield Intersection */ RaceCheckpoint[playerid] = 67; } else if(RaceCheckpoint[playerid] == 67) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1216.055541,867.520141,12.625346,1350.974365,963.892700,16.552112,3); /* Blackfield Intersection */ RaceCheckpoint[playerid] = 68; } else if(RaceCheckpoint[playerid] == 68) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1350.974365,963.892700,16.552112,1270.948852,1080.749633,8.414007,3); /* Blackfield Intersection */ RaceCheckpoint[playerid] = 69; } else if(RaceCheckpoint[playerid] == 69) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1270.948852,1080.749633,8.414007,1224.662475,1226.830688,6.534149,3); /* Julius Thruway West */ RaceCheckpoint[playerid] = 70; } else if(RaceCheckpoint[playerid] == 70) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1224.662475,1226.830688,6.534149,1226.222167,1544.565795,6.461503,3); /* Julius Thruway West */ RaceCheckpoint[playerid] = 71; } else if(RaceCheckpoint[playerid] == 71) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1226.222167,1544.565795,6.461503,1226.949829,1863.966918,6.461499,3); /* Julius Thruway West */ RaceCheckpoint[playerid] = 72; } else if(RaceCheckpoint[playerid] == 72) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1226.949829,1863.966918,6.461499,1225.720947,2176.043945,6.464045,3); /* Julius Thruway West */ RaceCheckpoint[playerid] = 73; } else if(RaceCheckpoint[playerid] == 73) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1225.720947,2176.043945,6.464045,1444.887451,2453.519042,6.461510,3); /* Julius Thruway North */ RaceCheckpoint[playerid] = 74; } else if(RaceCheckpoint[playerid] == 74) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1444.887451,2453.519042,6.461510,1740.900512,2472.436767,6.554563,3); /* Julius Thruway North */ RaceCheckpoint[playerid] = 75; } else if(RaceCheckpoint[playerid] == 75) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1740.900512,2472.436767,6.554563,2016.188110,2544.838378,6.517322,3); /* Julius Thruway North */ RaceCheckpoint[playerid] = 76; } else if(RaceCheckpoint[playerid] == 76) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2016.188110,2544.838378,6.517322,2271.498046,2605.532226,6.483800,3); /* Julius Thruway North */ RaceCheckpoint[playerid] = 77; } else if(RaceCheckpoint[playerid] == 77) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2271.498046,2605.532226,6.483800,2590.430908,2536.931152,5.343456,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 78; } else if(RaceCheckpoint[playerid] == 78) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2590.430908,2536.931152,5.343456,2708.513183,2213.718261,6.473397,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 79; } else if(RaceCheckpoint[playerid] == 79) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2708.513183,2213.718261,6.473397,2708.846923,1959.222045,6.461478,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 80; } else if(RaceCheckpoint[playerid] == 80) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2708.846923,1959.222045,6.461478,2708.096679,1660.184082,6.465008,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 81; } else if(RaceCheckpoint[playerid] == 81) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2708.096679,1660.184082,6.465008,2707.526611,1215.927734,6.461497,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 82; } else if(RaceCheckpoint[playerid] == 82) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2707.526611,1215.927734,6.461497,2690.437255,1030.122436,6.464075,3); /* Julius Thruway East */ RaceCheckpoint[playerid] = 83; } else if(RaceCheckpoint[playerid] == 83) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2690.437255,1030.122436,6.464075,2323.900390,852.865356,6.465272,3); /* Julius Thruway South */ RaceCheckpoint[playerid] = 84; } else if(RaceCheckpoint[playerid] == 84) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2323.900390,852.865356,6.465272,2032.912475,852.497070,6.459053,3); /* Julius Thruway South */ RaceCheckpoint[playerid] = 85; } else if(RaceCheckpoint[playerid] == 85) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2032.912475,852.497070,6.459053,1887.355468,852.134277,8.103774,3); /* Julius Thruway South */ RaceCheckpoint[playerid] = 86; } else if(RaceCheckpoint[playerid] == 86) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1887.355468,852.134277,8.103774,1806.665283,847.293884,10.671875,3); /* Julius Thruway South */ RaceCheckpoint[playerid] = 87; } else if(RaceCheckpoint[playerid] == 87) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1806.665283,847.293884,10.671875,1794.800170,836.349121,10.398754,3); /* Julius Thruway South */ RaceCheckpoint[playerid] = 88; } else if(RaceCheckpoint[playerid] == 88) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1794.800170,836.349121,10.398754,1787.356323,789.712768,11.106599,3); /* Randolph Industrial Estate */ RaceCheckpoint[playerid] = 89; } else if(RaceCheckpoint[playerid] == 89) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1787.356323,789.712768,11.106599,1756.999755,620.285278,20.918977,3); /* Randolph Industrial Estate */ RaceCheckpoint[playerid] = 90; } else if(RaceCheckpoint[playerid] == 90) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1756.999755,620.285278,20.918977,1674.121459,359.395202,29.929725,3); /* Red County */ RaceCheckpoint[playerid] = 91; } else if(RaceCheckpoint[playerid] == 91) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1674.121459,359.395202,29.929725,1615.308715,150.663513,35.445934,3); /* Red County */ RaceCheckpoint[playerid] = 92; } else if(RaceCheckpoint[playerid] == 92) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1615.308715,150.663513,35.445934,1629.002685,-15.031020,36.409763,3); /* Red County */ RaceCheckpoint[playerid] = 93; } else if(RaceCheckpoint[playerid] == 93) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1629.002685,-15.031020,36.409763,1658.703002,-256.016021,38.195354,3); /* Red County */ RaceCheckpoint[playerid] = 94; } else if(RaceCheckpoint[playerid] == 94) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1658.703002,-256.016021,38.195354,1688.015136,-461.862030,32.907920,3); /* Red County */ RaceCheckpoint[playerid] = 95; } else if(RaceCheckpoint[playerid] == 95) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1688.015136,-461.862030,32.907920,1688.266479,-747.649902,51.330898,3); /* Red County */ RaceCheckpoint[playerid] = 96; } else if(RaceCheckpoint[playerid] == 96) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1688.266479,-747.649902,51.330898,1643.165405,-1041.283447,61.643207,3); /* Mulholland Intersection */ RaceCheckpoint[playerid] = 97; } else if(RaceCheckpoint[playerid] == 97) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1643.165405,-1041.283447,61.643207,1603.460205,-1319.515380,33.541007,3); /* Downtown Los Santos */ RaceCheckpoint[playerid] = 98; } else if(RaceCheckpoint[playerid] == 98) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1603.460205,-1319.515380,33.541007,1595.175048,-1561.206909,28.313032,3); /* Commerce */ RaceCheckpoint[playerid] = 99; } else if(RaceCheckpoint[playerid] == 99) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1595.175048,-1561.206909,28.313032,1594.558227,-1589.354248,28.313026,3); /* Commerce */ RaceCheckpoint[playerid] = 100; } else if(RaceCheckpoint[playerid] == 100) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1594.558227,-1589.354248,28.313026,1597.083740,-1612.510742,28.313013,3); /* Commerce */ RaceCheckpoint[playerid] = 101; } else if(RaceCheckpoint[playerid] == 101) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1597.083740,-1612.510742,28.313013,1623.947387,-1610.391845,28.219072,3); /* Commerce */ RaceCheckpoint[playerid] = 102; } else if(RaceCheckpoint[playerid] == 102) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1623.947387,-1610.391845,28.219072,1665.484008,-1559.699218,24.332759,3); /* Commerce */ RaceCheckpoint[playerid] = 103; } else if(RaceCheckpoint[playerid] == 103) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1665.484008,-1559.699218,24.332759,1712.530517,-1530.067626,20.674360,3); /* Commerce */ RaceCheckpoint[playerid] = 104; } else if(RaceCheckpoint[playerid] == 104) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1712.530517,-1530.067626,20.674360,1909.323486,-1517.138061,2.994063,3); /* Idlewood */ RaceCheckpoint[playerid] = 105; } else if(RaceCheckpoint[playerid] == 105) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,1909.323486,-1517.138061,2.994063,2159.141113,-1551.305175,2.022454,3); /* Idlewood */ RaceCheckpoint[playerid] = 106; } else if(RaceCheckpoint[playerid] == 106) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2159.141113,-1551.305175,2.022454,2307.542968,-1608.423095,4.363269,3); /* East Los Santos */ RaceCheckpoint[playerid] = 107; } else if(RaceCheckpoint[playerid] == 107) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2307.542968,-1608.423095,4.363269,2353.659179,-1616.140625,6.981089,3); /* East Los Santos */ RaceCheckpoint[playerid] = 108; } else if(RaceCheckpoint[playerid] == 108) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2353.659179,-1616.140625,6.981089,2406.148681,-1619.510009,11.049901,3); /* East Los Santos */ RaceCheckpoint[playerid] = 109; } else if(RaceCheckpoint[playerid] == 109) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2406.148681,-1619.510009,11.049901,2428.844970,-1625.003784,13.150115,3); /* East Los Santos */ RaceCheckpoint[playerid] = 110; } else if(RaceCheckpoint[playerid] == 110) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2428.844970,-1625.003784,13.150115,2428.516845,-1649.674926,13.266809,3); /* Ganton */ RaceCheckpoint[playerid] = 111; } else if(RaceCheckpoint[playerid] == 111) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2428.516845,-1649.674926,13.266809,2449.722167,-1658.574096,13.031767,3); /* Ganton */ RaceCheckpoint[playerid] = 112; } else if(RaceCheckpoint[playerid] == 112) { DisablePlayerRaceCheckpoint(playerid); SetPlayerRaceCheckpoint(playerid,0,2449.722167,-1658.574096,13.031767,0.0,0.0,0.0,3); /* Ganton */ RaceCheckpoint[playerid] = 113; } else if(RaceCheckpoint[playerid] == 113) { /* do stuff here */ } }[/pawn] |