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. 301
Segítségkérés / Nyelv« Dátum: 2011. december 01. - 18:02:25 »
Hát nézzük
[pawn]new nyelv[MAX_PLAYERS];// 0 lehet pl Magyar, 1 Angol[/pawn] Ezzel úgymond létrehozod a két nyelvet De ha pl csak két nyelv van, akkor lehet, hogy gyorsabb: [pawn]new bool:magyar[MAX_PLAYERS] = true;//1 - true, 0 - false[/pawn] De ilyenkor csak 2 nyelv lehet és else-vel lehet megcsinálni!... Aztán OnPlayerConnect alá: [pawn]//Dialog, vagy valami... xD //magyar: nyelv[playerid] = 0 //angol: nyelv[playerid] = 1[/pawn] Ezzel beállítod a nyelvet És amikor van valami, például OnPlayerCommandText-nél [pawn]if(nyelv[playerid] == 0) //Ha Magyar {[/pawn] [pawn]if(nyelv[playerid] == 1) //Ha Angol {[/pawn] És ezt így megcsinálod mindenhova Sok sikert, remélem, segítettem 302
Segítségkérés / Automata kick,ban stb...« Dátum: 2011. december 01. - 17:55:50 »
Keress rá gamemode-ban kick-re, ban-ra és ott lehet, hogy meglesz
303
Segítségkérés / Bomba« Dátum: 2011. december 01. - 17:54:38 »
Kiveszed ezt a részt:[pawn]if(!NuclearBomb[playerid][bombactive])[/pawn] a /plantbomb alól és akkor többet is tudsz rakni elvileg...
304
Segítségkérés / Átállás« Dátum: 2011. november 30. - 22:39:04 »
Én megpróbálnám felvenni a kapcsolatot vele
305
Szkript kérések / Kocsi ablak« Dátum: 2011. november 27. - 14:04:09 »
Fegyvert elõ, kihajolsz az ablakon, ki szállsz, vissza szállsz és le van húzva :laugh:
306
Szkript kérések / Race checkpoint, verseny script« Dátum: 2011. november 26. - 23:50:39 »Idézetet írta: .:Secur:. date=1322347555\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"13765\" data-ipsquote-contentclass=\"forums_Topic E:\\SAMP Karácsony 2011\\ Szerver\\filterscripts\\verseny.pwn(13) : warning 217: loose indentationõ hát izé, erre nem tudom, mit mondjak xD 307
Segítségkérés / Dinivel hogy lehet scriptfileba név.init létrehozni?« Dátum: 2011. november 26. - 23:43:51 »
Ez alapján próbáld meg: http://sampforum.hu/index.php?topic=3075.msg36705#msg36705
308
Szkript kérések / Race checkpoint, verseny script« Dátum: 2011. november 26. - 23:38:46 »
Nem teszteltem, remélem jó:
[pawn]#include <a_samp> new RaceCheckpoint[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/dm\", cmdtext, true, 10) == 0) { // SetPlayerRaceCheckpoint(playerid,); RaceCheckpoint[playerid] = 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] 310
RP/RPG kérések / [map] kérés« Dátum: 2011. november 26. - 19:28:53 »
Gondolom msn, vagy hasonló Egyébként nekem azt hiszem, van egy félkész Montgomery rp mapom xD
311
RP/RPG kérések / [map] kérés« Dátum: 2011. november 26. - 18:41:48 »
Gondolom bemappolni, objecteket raksz be, stb
312
RP/RPG kérések / [map] kérés« Dátum: 2011. november 26. - 18:36:31 »
Mit kapok érte? xD Ha gondolod, szívesen megcsinálom
313
Szkript kérések / [HELP]Zombi vs ember dm zóna« Dátum: 2011. november 25. - 21:10:20 »
Nincs mit, de ha esetleg nem sikerülne, akkor ne légy mérges xD
Ja igen, és mikor kezdõdjön? Xd 314
Szkript kérések / [HELP]Zombi vs ember dm zóna« Dátum: 2011. november 25. - 20:46:14 »
Hát elkezdem írni, és meglássuk, meddig jutok
Edit: Egy kör hány perces legyen? 315
Segítségkérés / szeretnék csinálni ételszállító munkát de hogy kéne?« Dátum: 2011. november 22. - 21:21:30 »
Én csináltam nemrég egy \"cowboy\" melót, írd át
[pawn]#include <a_samp> #define COLOR_WHITE 0xFFFFFFAA new munka[MAX_PLAYERS]; new Cp[MAX_PLAYERS]; forward timer_CP1(playerid); forward timer_CP2(playerid); forward timer_CP3(playerid); forward timer_CP4(playerid); forward timer_CP5(playerid); forward timer_CP6(playerid); forward timer_CP7(playerid); forward timer_CP8(playerid); public OnPlayerSpawn(playerid) { munka[playerid] = 0; return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/felmond\", cmdtext, true, 10) == 0) { munka[playerid] = 0; SendClientMessage(playerid, 0xFFFFFFAA, \"Felmondtál, mostmár nincs munkád!\"); return 1; } if (strcmp(\"/elfogadmunka\", cmdtext, true, 10) == 0) { if (IsPlayerInRangeOfPoint(playerid, 2.0, 1528.3557,1215.5189,10.8125)) { if (munka[playerid]!=1) { munka[playerid] = 1; SendClientMessage(playerid, COLOR_WHITE, \"Elfogadtad a munkát! /munkakezd a munkakezdéshez!\"); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, \"Már van munkád!\"); return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, \"Nem vagy a kijelölt helyen!\"); return 1; } } if (strcmp(\"/munkakezd\", cmdtext, true, 10) == 0) { if(munka[playerid]==1) { SendClientMessage(playerid, COLOR_WHITE, \"Elkezdted a munkát!\"); SendClientMessage(playerid, COLOR_WHITE, \"Menj a cp-be!\"); Cp[playerid] = 1; SetPlayerCheckpoint(playerid, 1515.7786,1227.2740,10.9468, 2.0); return 1; } else { if(munka[playerid] == 2) { SendClientMessage(playerid, COLOR_WHITE, \"Elõször add le a tejet! /tejlead\"); return 1; } else { if(munka[playerid] != 1) { SendClientMessage(playerid, COLOR_WHITE, \"Nem vagy cowboy!\"); return 1; } } } } if (strcmp(\"/tejlead\", cmdtext, true, 10) == 0) { if(munka[playerid]==2) { if (IsPlayerInRangeOfPoint(playerid, 2.0, 1524.9487,1222.9210,11.1734)) { SendClientMessage(playerid, COLOR_WHITE, \"Leadtad a tejet!\"); SendClientMessage(playerid, COLOR_WHITE, \"Kaptál érte 500$-t és 1 pontot!\"); GivePlayerMoney(playerid, 500); SetPlayerScore(playerid, 1); munka[playerid]=1; return 1; } else { SendClientMessage(playerid, COLOR_WHITE, \"Itt nem adhatod le a tejet!\"); } } else { if(munka[playerid]==1) { SendClientMessage(playerid, COLOR_WHITE, \"Még nem fejted meg a teheneket!\"); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, \"Nem vagy cowboy!\"); return 1; } } } return 0; } public OnPlayerEnterCheckpoint(playerid) { if(Cp[playerid] == 1) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP1\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 2) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP2\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 3) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP3\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 4) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP4\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 5) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP5\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 6) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP6\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 7) { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP7\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == { TogglePlayerControllable(playerid, 0); SetTimer(\"timer_CP8\", 5000, 0); DisablePlayerCheckpoint(playerid); GameTextForPlayer(playerid,\"~w~Fejed a tehenet!\",5000,0); return 1; } if(Cp[playerid] == 9) { GameTextForPlayer(playerid,\"~w~Leadhatod a tejet!\",5000,0); return 1; } return 0; } public timer_CP1(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 2; SetPlayerCheckpoint(playerid, 1509.6528,1217.0497,10.9375, 2.0); return 1; } public timer_CP2(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 3; SetPlayerCheckpoint(playerid, 1500.0675,1226.9259,11.0531, 2.0); return 1; } public timer_CP3(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 4; SetPlayerCheckpoint(playerid, 1501.4376,1254.4552,11.0445, 2.0); return 1; } public timer_CP4(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 5; SetPlayerCheckpoint(playerid, 1499.6357,1264.3749,11.0499, 2.0); return 1; } public timer_CP5(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 6; SetPlayerCheckpoint(playerid, 1505.1816,1285.6637,11.0211, 2.0); return 1; } public timer_CP6(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 7; SetPlayerCheckpoint(playerid, 1511.2065,1278.6943,10.9761, 2.0); return 1; } public timer_CP7(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_WHITE, \"Menj a következõ cp-be!\"); TogglePlayerControllable(playerid, 1); Cp[playerid] = 8; SetPlayerCheckpoint(playerid, 1519.5472,1247.9701,10.9045, 2.0); return 1; } public timer_CP8(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,COLOR_WHITE, \"Mostmár leadhatod a tejet!!\"); TogglePlayerControllable(playerid,1); Cp[playerid] = 9; SetPlayerCheckpoint(playerid,1524.9487,1222.9210,11.1734,2.0); munka[playerid]=2; return 1; }[/pawn] Ha kell segítség, akkor írj |