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.
Üzenetek - Stramm
Oldalak: 1 ... 6 7 [8] 9 10 ... 13
106
« Dátum: 2013. március 30. - 21:19:40 »
Azt hogyan tudom megoldani hogy ha meglõl valaki valakit akkor egy ilyen csangõ szerû hang szólaljon meg.
108
« Dátum: 2013. március 30. - 18:10:10 »
Sziasztok nos én létrehoztam egy dialogot -Ezzel csak annnyi a gondom hogy public OnDialogResponse -nél nem jeleníti meg mármint /help ez eddig jó viszont ha én rámegyek hogy jármûvekhez akkor kilép a dialogból Én nem nagyon értek a dialogokhoz úgyhogy valaki megmondaná mi a baj? public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/help\", cmdtext, true, 10) == 0) { ShowPlayerDialog ( playerid, 2, DIALOG_STYLE_LIST, \"Parancsok\", \"Általános Parancsok\\nJármûvekhez\",\"Kiválaszt\", \"Mégse\" ); return 1; } return 0; } public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] ) { if (dialogid == 1 ) { if ( !response ) { ShowPlayerDialog ( playerid, 0, DIALOG_STYLE_MSGBOX, \"Jármûvekhez\", \"Jármû lekérése: /v (Id) Vagy (Név)\\nJármû Felálítása:/vflip\\nJármûvel ugrálás: /carjump (Lõvésgomb)\\n\",\"Kiválaszt\", \"Mégse\" ); return 1; } if ( listitem == 0 ) { SendClientMessage ( playerid, 0xFF0000FF, \"Te az elsõ lehetõséget választottad!.\" ); } if ( listitem == 1 ) { SendClientMessage ( playerid, 0xFF0000FF, \"Te a második lehetõséget választottad!.\" ); } return 1; } return 0; }
109
« Dátum: 2013. március 30. - 16:50:53 »
Sziasztok, az lenne a kérdésem a mapot hogyan tudom Másik Világba rakni?
110
« Dátum: 2013. március 30. - 13:33:34 »
Sziasztok Kellene egy kisebb War mod Tartalma: 3 csapat van Klan Ref Else Ezt jobb oldalt írja vagy pedig a skin fölött és mikor meglõ valakit akkor ilyen csengõ szerü hang szólaljon meg. És felül az élet alatt egy számláló írja ki mennyit ölt mármint hogy Pl: Klan 0 Else:3 Az else Klan spawnoláskor kapjon egy sawn-t a ref pedig egy fényképezõt És külõn helyre spawnoljanak mind3-man A kordinátákat megcisnálom ti csak írjátok oda hogy hova írjam.
111
« Dátum: 2013. március 26. - 09:24:45 »
Hy! Megcsináltam neked
#include <a_samp> #pragma tabsize 0 #define SZIN_KÉK 0x3300ffAA #define SZIN_SÁRGA 0xff6600AA #define SZIN_CITROM 0xfff700AA #define SZIN_TEXTDRAW 0x7c6aa8AA #define SZIN_PIROS 0xff0000AA #define COLOR_WHITE 0xF6F6F6FF #define SZIN_SZÜRKE 0x8c8888A #define DIALOGID 12014303546 //Ez kell hogy mûködjön a telemenü //New-ek new Text:textdraw; new Float:RandomSpawn[9][3] = { {}, {2162.7043,1078.2765,10.8076}, {2110.3743,1006.3901,10.9990}, {1242.5153,328.5576,19.7555}, {-1572.9589,657.9769,7.1875}, {-1618.0706,699.4272,-4.9063}, {-1528.4049,411.8047,7.1875}, {309.5623,2539.8877,16.8154}, {2098.5378,2214.5779,10.8203} }; #if defined FILTERSCRIPT public OnFilterScriptInit() { print(\"\\n======================================\"); print(\" [HUN]..:::Word Stunt Server:::..\"); print(\"======================================\\n\"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print(\"\\n======================================\"); print(\" [HUN]..:::Word Stunt Server:::..\"); print(\"======================================\\n\"); } #endif public OnGameModeInit() { textdraw = TextDrawCreate(150,430,\"[HUN]..:::Word Stunt Server:::..\"); TextDrawFont(textdraw,1); TextDrawColor(textdraw, 0xfff700AA); //CITROM SetGameModeText(\"Minigame/Race/Stunt/Dm\"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(8, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(9, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(10, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(11, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(12, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(13, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(16, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(18, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(22, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(25, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(26, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(35, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(36, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(37, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(38, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(39, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(40, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(41, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(42, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(43, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(44, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(45, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(46, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(48, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(49, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(51, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(52, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(53, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(55, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(56, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(58, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(60, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(63, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(64, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(65, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(66, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(67, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(69, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(71, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(72, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(73, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(74, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(75, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(76, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(299, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); //==========PARKOUR============================================================================ //WSS-Stunt-1======================================================================================= CreateObject(1220, 2133, 835.90002, -43, 0, 0, 0); CreateObject(1634, -762.5, 1646.19995, 27.4, 0, 0, 0); CreateObject(1634, -762.5, 1646.19922, 27.4, 16, 0, 0); CreateObject(1634, -762.5, 1648, 28.9, 23.496, 0, 0); CreateObject(1634, -762.5, 1650.30005, 32, 34.244, 0, 0); CreateObject(1634, -762.5, 1652, 37, 55.239, 0, 0); CreateObject(1655, -842.70001, 1634, 27.1, 0, 0, 20); CreateObject(1655, -844.20001, 1638.19995, 29.6, 16, 0, 19.995); CreateObject(1634, -1631.90002, 1893.30005, 16.6, 0, 0, 182); CreateObject(1634, -1631.80005, 1890.30005, 18.8, 18.5, 0, 182); CreateObject(1634, -1631.69995, 1887.69995, 21.3, 21.995, 0, 182); CreateObject(3080, -1294.69995, -5.5, 14.4, 0, 0, 314); CreateObject(3080, -1291.69995, -2.9, 17.2, 22, 0, 313.995); CreateObject(3080, -1289.90002, -1.1, 19.8, 25.995, 0, 313.989); CreateObject(3620, -1535.69995, 136, 15.7, 0, 0, 316); CreateObject(3399, -2438, 1538.90002, 13.7, 0, 0, 270); CreateObject(3399, -2438, 1549.40002, 7.3, 0, 344, 270); CreateObject(3399, -2432.19995, 1553.40002, 1.6, 0, 0, 179.5); CreateObject(11544, -1480.69995, 804, 8.2, 0, 0, 270); CreateObject(11544, -1483.40002, 804.09998, 8.2, 0, 0, 90); CreateObject(11544, -1477.40002, 804.09998, 5.4, 0, 0, 90); CreateObject(11544, -1472.40002, 804.09998, 2.7, 0, 0, 90); CreateObject(8417, -1464.09998, 804, 1, 0, 0, 0); CreateObject(8417, -1423.5, 804, 1, 0, 0, 0); CreateObject(8417, -1423.40002, 764.79999, 1, 0, 0, 0); CreateObject(8417, -1423.90002, 840.5, 1, 0, 0, 0); CreateObject(8417, -1383, 839.70001, 1, 0, 0, 0); CreateObject(8417, -1383.59998, 800.20001, 1, 0, 0, 0); CreateObject(8417, -1384.19995, 765, 1, 0, 0, 0); CreateObject(8417, -1462, 764.90002, 1, 0, 0, 0); CreateObject(13592, -1425.30005, 769.09998, 10.1, 0, 0, 359.999); CreateObject(13592, -1424.40002, 774.70001, 10.1, 0, 0, 359.995); CreateObject(13592, -1423.59998, 779.70001, 10.1, 0, 0, 179.995); CreateObject(3458, -1361.59998, 810.40002, 0, 0, 344, 0); CreateObject(3458, -1361.69995, 807.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.80005, 803.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.90002, 798.20001, 0, 0, 343.998, 0); CreateObject(3458, -1362, 793, 0, 0, 343.998, 0); CreateObject(3458, -1361.90002, 789.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.89941, 789.19922, 0, 0, 343.998, 0); CreateObject(3458, -1360.40002, 811.5, -0.5, 286.002, 270, 270); CreateObject(3458, -1359.40002, 788, -0.5, 72.938, 290.026, 69.129); CreateObject(3458, -1354.59998, 789.20001, 3, 0, 343.998, 0); CreateObject(3458, -1355.40002, 790.59998, 1.6, 286.481, 283.671, 284.234); CreateObject(3458, -1359.40002, 787.90002, 0.5, 72.938, 290.027, 69.129); CreateObject(8947, -1411, 861.09998, 4, 34, 0, 0); CreateObject(8947, -1397.5, 861.09998, 4, 33.997, 0, 0); CreateObject(8947, -1384.30005, 861.09998, 4, 33.997, 0, 0); CreateObject(8947, -1370.09998, 861.09998, 4, 33.997, 0, 0); CreateObject(8417, -1383.80005, 745.5, 7.3, 0, 28, 88); CreateObject(8417, -1385.5, 740.40002, 9.1, 0, 39.999, 87.995); CreateObject(8417, -1385.90002, 728, 19.6, 0, 49.996, 87.99); CreateObject(8947, -1356.30005, 855.09998, 4, 33.997, 0, 310); CreateObject(8947, -1359.59998, 858.40002, 4, 33.992, 0, 335.996); CreateObject(1634, -1466.30005, 773.59998, 2, 0, 0, 120); CreateObject(1634, -1468.90002, 772.09998, 4, 18, 0, 119.998); CreateObject(1634, -1473.30005, 769.59998, 9.5, 25.996, 0, 119.993); CreateObject(1634, -1474.69995, 768.79999, 12.8, 41.994, 0, 119.993); CreateObject(1634, -1468.19995, 778.29999, 2, 0, 0, 103.998); CreateObject(1634, -1471.90002, 777.40002, 4.3, 12, 0, 103.997); CreateObject(1634, -1474.5, 776.79999, 6.8, 23.997, 0, 103.997); CreateObject(1634, -1439.09998, 831, 7, 0, 0, 173.997); CreateObject(1634, -1440, 806.79999, 1.5, 0, 0, 1.996); CreateObject(1634, -1490.40002, 789.90002, 6.8, 0, 0, 265.496); CreateObject(1634, -1487.19995, 789.59998, 8.4, 4, 0, 265.496); CreateObject(8417, -1380.5, 871.09998, 1, 0, 0, 0); CreateObject(8417, -1403.19995, 871.5, 1, 0, 0, 0); CreateObject(8417, -1380.59998, 893, 1, 0, 0, 0); CreateObject(8417, -1404.09998, 892.40002, 1, 0, 0, 0); CreateObject(8417, -1404.5, 906.5, 1, 0, 0, 0); CreateObject(8417, -1379.40002, 907.09998, 1, 0, 0, 0); CreateObject(3364, -1369.80005, 823.09998, 1, 0, 0, 180); CreateObject(6052, -1366.40002, 777.29999, 3.3, 0, 0, 0); CreateObject(6052, -1362, 776, 3.4, 0, 0, 0); //================================================================================================= //============WSS-Stunt-1 Jármûi=================================================================== AddStaticVehicleEx(550,2162.5000000,1025.6999500,10.7000000,90.0000000,45,58,15); //Sunrise AddStaticVehicleEx(550,2162.5000000,1022.7000100,10.7000000,90.0000000,45,58,15); //Sunrise AddStaticVehicleEx(400,2161.8000500,1016.0999800,11.0000000,90.0000000,38,55,15); //Landstalker AddStaticVehicleEx(434,2131.5000000,1006.2999900,11.0000000,85.9920000,22,34,15); //Hotknife AddStaticVehicleEx(434,2131.5000000,1009.2999900,11.0000000,85.9900000,22,34,15); //Hotknife AddStaticVehicleEx(461,2143.1999500,1006.7999900,10.5000000,284.0000000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2142.6001000,1009.7000100,10.5000000,283.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2142.0000000,1012.5999800,10.5000000,283.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2134.0000000,1012.9000200,10.5000000,73.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(522,2133.5000000,1015.9000200,10.5000000,80.0000000,76,117,15); //NRG-500 AddStaticVehicleEx(522,2143.1999500,1018.9000200,10.5000000,279.9970000,76,117,15); //NRG-500 AddStaticVehicleEx(481,2157.8000500,987.7000100,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2155.1001000,988.2000100,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2156.8000500,987.9000200,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2154.1001000,988.4000200,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(422,2151.6999500,989.2999900,10.9000000,0.0000000,155,159,15); //Bobcat AddStaticVehicleEx(422,2142.8999000,1015.5999800,10.9000000,270.0000000,155,159,15); //Bobcat AddStaticVehicleEx(411,-1200.6999500,1819.4000200,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(411,-1205.0000000,1814.3000500,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(411,-1195.1999500,1823.6999500,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(537,-1942.8000500,165.8999900,27.4000000,355.5000000,245,245,15); //Freight AddStaticVehicleEx(590,-1944.0000000,148.3000000,27.2000000,175.2500000,-1,-1,15); //Freight Carriage AddStaticVehicleEx(487,-1600.0000000,884.2000100,47.5000000,130.0000000,39,47,15); //Maverick //==================================================================================================== //==============================MINIGAMEMAP=========================================================== CreateObject(3458, 1493.5, -3047.1001, 2.5, 0, 0, 274); CreateObject(3458, 1491, -3011.1001, 2.6, 0, 0, 273.999); CreateObject(3458, 1516.19995, -3063.30005, 2.5, 0, 0, 3.999); CreateObject(3458, 1536.5, -3062, 2.5, 0, 0, 3.994); CreateObject(3458, 1510.30005, -2992, 2.5, 0, 0, 3.994); CreateObject(3458, 1531.40002, -2990.6001, 2.4, 0, 0, 3.994); CreateObject(3458, 1552.69995, -3040.3999, 2.4, 0, 0, 93.994); CreateObject(3458, 1550.30005, -3006.19995, 2.6, 0, 0, 93.994); CreateObject(3458, 1530.19995, -3025.19995, 2.5, 0, 0, 183.994); CreateObject(3458, 1514.19995, -3026.30005, 2.5, 0, 0, 183.988); CreateObject(3458, 1563.90002, -3022.3999, 7, 0, 336, 5.244); CreateObject(3458, 1524.09998, -3042.30005, 2.6, 0, 0, 273.988); CreateObject(3458, 1522, -3012, 2.7, 0, 0, 273.983); CreateObject(3458, 1583.80005, -3019.1001, 15.1, 0, 0, 93.994); CreateObject(3458, 1597.90002, -3009.69995, 15.1, 0, 0, 154.244); CreateObject(3458, 1598.5, -3028.19995, 15.2, 0, 0, 213.994); CreateObject(3458, 1601.80005, -3019.19995, 15, 0, 0, 184.493); CreateObject(3458, 1627.90002, -3017.19995, 15, 0, 0, 184.488); CreateObject(3458, 1511.69995, -3039.1001, 2.5, 0, 0, 3.983); CreateObject(3458, 1535.80005, -3037.30005, 2.5, 0, 0, 3.983); CreateObject(3458, 1564.59998, -3034.80005, 7, 0, 335.995, 5.24); CreateObject(3458, 1511.69922, -3039.09961, 2.6, 0, 0, 3.983); CreateObject(3458, 1563.40002, -3011.19995, 7, 0, 335.995, 5.24); CreateObject(3458, 1528, -3014.19995, 2.5, 0, 0, 3.983); CreateObject(3458, 1509.19995, -3015.6001, 2.5, 0, 0, 3.983); CreateObject(3374, 1505.59998, -3022.80005, 2.7, 0, 0, 2.75); CreateObject(3374, 1505.5, -3019.3999, 2.7, 0, 0, 2.747); CreateObject(3080, 1643.69995, -3016, 17.7, 0, 0, 274.75); CreateObject(3458, 1675.59998, -3013, 21.4, 0, 0, 183.988); //==================================================================== //===========WSS-STUNT-2 LS-DOCK-GETTO================================= CreateObject(3095, 2497.5, -1662.80005, 81.5, 0, 0, 0); CreateObject(3095, 2497.5, -1671.69995, 81.5, 0, 0, 0); CreateObject(3095, 2506.3999, -1671.69995, 81.5, 0, 0, 0); CreateObject(3095, 2506.5, -1662.80005, 81.5, 0, 0, 0); CreateObject(3095, 2489.5, -1663.59998, 81.5, 22, 0, 0); CreateObject(3095, 2479.3999, -1663.59998, 81.5, 21.995, 0, 0); CreateObject(3095, 2469.8999, -1663.80005, 81.5, 21.995, 0, 0); CreateObject(3095, 2460.30005, -1663.90002, 81.5, 21.995, 0, 0); CreateObject(3095, 2450.8999, -1665.59998, 81.5, 21.995, 0, 20); CreateObject(3095, 2441.69995, -1669.59998, 81.5, 21.995, 0, 27.995); CreateObject(3095, 2433.19995, -1675.30005, 81.5, 21.995, 0, 37.993); CreateObject(3095, 2425.30005, -1681.90002, 81.5, 21.995, 0, 41.991); CreateObject(3095, 2417.80005, -1689.09998, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2410.5, -1696.5, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2402.80005, -1703.19995, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2395, -1710.30005, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2391, -1719.59998, 81.5, 21.995, 0, 87.99); CreateObject(3095, 2391.5, -1729.09998, 81.5, 21.995, 0, 99.985); CreateObject(3095, 2394.3999, -1739.40002, 81.5, 21.995, 0, 107.981); CreateObject(3095, 2398.3999, -1749, 81.5, 21.995, 0, 117.979); CreateObject(3095, 2405.30005, -1757.30005, 81.5, 21.995, 0, 137.977); CreateObject(3095, 2413.3999, -1764, 81.5, 21.995, 0, 143.972); CreateObject(3095, 2423.5, -1769.09998, 81.5, 21.995, 0, 161.97); CreateObject(3095, 2433.8999, -1771.09998, 81.5, 21.995, 0, 175.966); CreateObject(3095, 2444.1001, -1771.80005, 81.5, 21.995, 0, 175.963); CreateObject(3095, 2453.5, -1772.40002, 81.5, 21.995, 0, 175.963); CreateObject(1655, 2458.5, -1772.59998, 82.8, 0, 336.75, 264.5); CreateObject(3095, 2497.80005, -1658, 80.8, 84, 180, 180); CreateObject(3095, 2506.5, -1658, 80.8, 83.996, 179.995, 179.995); CreateObject(3095, 2509.5, -1659.80005, 80.8, 83.996, 179.995, 127.995); CreateObject(3095, 2511.5, -1666.59998, 80.8, 83.99, 179.995, 89.99); CreateObject(3095, 2510.30005, -1673, 80.7, 88.02, 0.023, 243.961); CreateObject(3095, 2507.1001, -1676.19995, 80.7, 83.985, 179.995, 359.989); CreateObject(3095, 2498.6001, -1676.09998, 80.7, 83.985, 179.995, 359.984); CreateObject(3095, 2497.30005, -1676.09998, 80.7, 83.985, 179.995, 359.984); CreateObject(3095, 2492.5, -1675.09998, 80.7, 86.02, 0.011, 87.967); CreateObject(3095, 2392.1001, -1713.80005, 81.5, 21.995, 0, 53.99); CreateObject(1655, 2461, -1772, 84.8, 20.132, 335.135, 273.558); CreateObject(1655, 2590.8999, -1463.80005, 21.8, 23.998, 0, 0); CreateObject(1655, 2599.5, -1469, 17, 13.994, 0, 0); CreateObject(1655, 2590.8999, -1469, 17, 13.994, 0, 0); CreateObject(1655, 2599.30005, -1463.80005, 21.8, 23.994, 0, 0); CreateObject(1655, 2599.30005, -1465.40002, 21.3, 33.994, 0, 0); CreateObject(1655, 2608.19995, -1469, 17, 13.991, 0, 0); CreateObject(1655, 2608.30005, -1464.5, 21.3, 27.992, 0, 0); CreateObject(1655, 2608.30005, -1461.80005, 25.5, 37.988, 0, 0); CreateObject(1634, 2590.80005, -1564.40002, 8.2, 0, 0, 170); CreateObject(1634, 2590.1001, -1568.59998, 10.7, 14, 0, 169.997); CreateObject(1655, 2593.19995, -1600.5, 19.2, 0, 0, 300); CreateObject(8356, 2745.8999, -2367.3999, 52.4, 18, 0, 268.5); CreateObject(8356, 2794.3999, -2367.69995, 66.5, 21.996, 0, 268.495); CreateObject(8356, 2823, -2368.80005, 66.5, 35.995, 0, 268.489); CreateObject(8356, 2856.19995, -2369.5, 79.1, 45.991, 0, 268.489); CreateObject(8356, 2814.19995, -2370.8999, 14.3, 55.991, 0, 268.489); CreateObject(8356, 2769.3999, -2374.3999, -12.4, 55.986, 0, 268.489); CreateObject(8417, 2941.80005, -2372.1001, 146.60001, 0, 0, 358); CreateObject(3458, 2963, -2372.8999, 148.10001, 88, 0, 268); CreateObject(3458, 2940.69995, -2392.19995, 148.10001, 87.995, 0, 177.995); CreateObject(3458, 2945.19995, -2350.6001, 148.10001, 87.995, 0, 358.245); CreateObject(1655, 2671.6001, -2376.8999, 30.7, 0, 0, 88); CreateObject(1655, 2671.80005, -2368.3999, 30.7, 0, 0, 87.995); CreateObject(1655, 2672.1001, -2360, 30.7, 0, 0, 87.995); CreateObject(1655, 2672.3999, -2351.5, 30.7, 0, 0, 87.995); CreateObject(1655, 2669.30005, -2351.1001, 32.4, 14, 0, 87.995); CreateObject(1655, 2669, -2359.6001, 32.4, 13.997, 0, 87.99); CreateObject(1655, 2668.69995, -2368.1001, 32.4, 13.997, 0, 87.99); CreateObject(1655, 2668.3999, -2376.80005, 32.4, 13.997, 0, 87.99); CreateObject(13592, 2753.69995, -1862.59998, 18.8, 0, 0, 0); //===========WSS-STUNT-2 LS-DOCK-GETTO JÁRMÛVEK================================= AddStaticVehicleEx(522,2495.1001000,-1672.3000500,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2496.8999000,-1672.8000500,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2498.1999500,-1673.0000000,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2500.1001000,-1673.0999800,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2501.1999500,-1673.0999800,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2506.8000500,-1671.5000000,83.7000000,36.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2508.0000000,-1669.5000000,83.7000000,35.9970000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2509.0000000,-1667.6999500,83.7000000,35.9970000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2959.8999000,-2364.6001000,148.7000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(522,2960.5000000,-2363.1999500,148.5000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(522,2961.1001000,-2361.6001000,148.7000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(411,2957.6001000,-2377.5000000,150.1000100,84.0000000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.3999000,-2380.6999500,150.6000100,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.1999500,-2384.3999000,150.6000100,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.8999000,-2372.8999000,149.3999900,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2948.5000000,-2355.8999000,150.6000100,173.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2943.8000500,-2355.3999000,150.6000100,173.9900000,114,42,15); //Infernus //================================================================================================ //==================WSS-Stunt-Elhagyatott-reptér================================================== return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1954.5426,1342.9369,15.3746); SetPlayerCameraPos(playerid, 1959.6799,1343.1836,15.3746); SetPlayerCameraLookAt(playerid, 1951.7332,1342.8486,15.3746); ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_C\",4.0,1,0,0,0,-1); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(\"/teles\", cmdtext, true)) { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Teleportok\", \"Stuntok\", \"Kiválaszt\", \"Mégse\"); return 1; } return 0; } public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xff6600AA, \"Segítséghez írd be /teles ; /parancsok\"); SendClientMessage(playerid, 0xff6600AA, \"Szabály elolvasása / betartása kötelezõ!! /RULES\"); SendClientMessage(playerid, 0xff6600AA, \"Weboldalunk: Majd lesz\"); PlayAudioStreamForPlayer(playerid, \"http://srv09.audiothief.com/hu-HU/Video/Download/YouTube_u_ZfEt0hXTA?token=vNb21vfEt1aHR2YHalq%2Bl0etxKjN8gzC&title=Mr.Busta%2B-%2BUtca%2BHimnusz%2B(Official%2BMusic%2BVideo)\"); return 1; } public OnPlayerDisconnect(playerid, reason) { TextDrawHideForPlayer(playerid, textdraw); return 1; } public OnPlayerSpawn(playerid) { new rand = random(sizeof(RandomSpawn)); SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]); TextDrawShowForPlayer(playerid, textdraw); GivePlayerWeapon(playerid, 22, 810); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 8, 1); GivePlayerWeapon(playerid, 18, 10); StopAudioStreamForPlayer(playerid); return 1; } public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoney(playerid,GetPlayerMoney(playerid)-20000); SetPlayerScore(playerid,GetPlayerScore(playerid)-1); GivePlayerMoney(killerid,GetPlayerMoney(killerid) +20000); SetPlayerScore(killerid,GetPlayerScore(killerid) +1); new playercash; if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); ResetPlayerMoney(playerid); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } } return 1; } /* public OnPlayerText(playerid, text[]) { new MMM[256]; format (MMM, sizeof(MMM),\"[%i]: %s \", playerid, text); SendPlayerMessageToAll(playerid,MMM); SetPlayerChatBubble(playerid,text, COLOR_WHITE, 200.0 , 10000); return 1; } */ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOGID) { if(response) { if(listitem == 0) // Stutok itt választod ki mi lehet a stuntba { ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Stunt\", \"Stunt1\", \"Kiválasztás\", \"Vissza\");//ahány sor van arra figyelej hogy mindig váltsd a számot +1 utána +2 } } return 1; } if(dialogid == DIALOGID+1) //Stuntok { if(response) { if(listitem == 0) { SetVehiclePos(GetPlayerVehicleID(playerid),2131.5273,-2570.4587,13.5469);//ez kocsival SetPlayerPos(playerid, 2145.8665,-2573.8691,19.5625);//ez gyalog new string [ 128 ], pName [ MAX_PLAYER_NAME ]; GetPlayerName ( playerid, pName, sizeof ( pName ) ); format ( string, sizeof ( string ), \"%s elmet a p*csába.....\", pName ); SendClientMessageToAll ( 0xFFFF00FF, string ); } } return 1; } return 0; }
De nekem úgy kellene hogy beírják /tele És van egy felsorolás PL: Stuntok parkour-ok És ha rákattint egyre akkor egy következõ dialog jöjjön elõ
112
« Dátum: 2013. március 25. - 23:53:10 »
Sziasztok nos van nekem egy modom amibe akár hogy probálok dialogos telét írni nem megy valaki bele írná nekem gondolom értitek hogy hogy /teles -elõjön egy dialog választhat hogy stunt-ok és elõ jön egy másik amiben a telék vannak -1DB elég a többit már csinálom én akkor #include <a_samp> #pragma tabsize 0 #define SZIN_KÉK 0x3300ffAA #define SZIN_SÁRGA 0xff6600AA #define SZIN_CITROM 0xfff700AA #define SZIN_TEXTDRAW 0x7c6aa8AA #define SZIN_PIROS 0xff0000AA #define COLOR_WHITE 0xF6F6F6FF #define SZIN_SZÜRKE 0x8c8888A //New-ek new Text:textdraw; new Float:RandomSpawn[9][3] = { {}, {2162.7043,1078.2765,10.8076}, {2110.3743,1006.3901,10.9990}, {1242.5153,328.5576,19.7555}, {-1572.9589,657.9769,7.1875}, {-1618.0706,699.4272,-4.9063}, {-1528.4049,411.8047,7.1875}, {309.5623,2539.8877,16.8154}, {2098.5378,2214.5779,10.8203} }; #if defined FILTERSCRIPT public OnFilterScriptInit() { print(\"\\n======================================\"); print(\" [HUN]..:::Word Stunt Server:::..\"); print(\"======================================\\n\"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print(\"\\n======================================\"); print(\" [HUN]..:::Word Stunt Server:::..\"); print(\"======================================\\n\"); } #endif public OnGameModeInit() { textdraw = TextDrawCreate(150,430,\"[HUN]..:::Word Stunt Server:::..\"); TextDrawFont(textdraw,1); TextDrawColor(textdraw, 0xfff700AA); //CITROM SetGameModeText(\"Minigame/Race/Stunt/Dm\"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(8, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(9, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(10, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(11, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(12, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(13, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(16, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(18, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(22, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(25, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(26, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(35, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(36, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(37, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(38, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(39, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(40, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(41, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(42, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(43, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(44, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(45, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(46, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(48, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(49, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(51, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(52, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(53, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(55, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(56, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(58, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(60, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(63, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(64, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(65, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(66, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(67, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(69, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(71, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(72, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(73, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(74, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(75, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(76, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(299, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); //==========PARKOUR============================================================================ //WSS-Stunt-1======================================================================================= CreateObject(1220, 2133, 835.90002, -43, 0, 0, 0); CreateObject(1634, -762.5, 1646.19995, 27.4, 0, 0, 0); CreateObject(1634, -762.5, 1646.19922, 27.4, 16, 0, 0); CreateObject(1634, -762.5, 1648, 28.9, 23.496, 0, 0); CreateObject(1634, -762.5, 1650.30005, 32, 34.244, 0, 0); CreateObject(1634, -762.5, 1652, 37, 55.239, 0, 0); CreateObject(1655, -842.70001, 1634, 27.1, 0, 0, 20); CreateObject(1655, -844.20001, 1638.19995, 29.6, 16, 0, 19.995); CreateObject(1634, -1631.90002, 1893.30005, 16.6, 0, 0, 182); CreateObject(1634, -1631.80005, 1890.30005, 18.8, 18.5, 0, 182); CreateObject(1634, -1631.69995, 1887.69995, 21.3, 21.995, 0, 182); CreateObject(3080, -1294.69995, -5.5, 14.4, 0, 0, 314); CreateObject(3080, -1291.69995, -2.9, 17.2, 22, 0, 313.995); CreateObject(3080, -1289.90002, -1.1, 19.8, 25.995, 0, 313.989); CreateObject(3620, -1535.69995, 136, 15.7, 0, 0, 316); CreateObject(3399, -2438, 1538.90002, 13.7, 0, 0, 270); CreateObject(3399, -2438, 1549.40002, 7.3, 0, 344, 270); CreateObject(3399, -2432.19995, 1553.40002, 1.6, 0, 0, 179.5); CreateObject(11544, -1480.69995, 804, 8.2, 0, 0, 270); CreateObject(11544, -1483.40002, 804.09998, 8.2, 0, 0, 90); CreateObject(11544, -1477.40002, 804.09998, 5.4, 0, 0, 90); CreateObject(11544, -1472.40002, 804.09998, 2.7, 0, 0, 90); CreateObject(8417, -1464.09998, 804, 1, 0, 0, 0); CreateObject(8417, -1423.5, 804, 1, 0, 0, 0); CreateObject(8417, -1423.40002, 764.79999, 1, 0, 0, 0); CreateObject(8417, -1423.90002, 840.5, 1, 0, 0, 0); CreateObject(8417, -1383, 839.70001, 1, 0, 0, 0); CreateObject(8417, -1383.59998, 800.20001, 1, 0, 0, 0); CreateObject(8417, -1384.19995, 765, 1, 0, 0, 0); CreateObject(8417, -1462, 764.90002, 1, 0, 0, 0); CreateObject(13592, -1425.30005, 769.09998, 10.1, 0, 0, 359.999); CreateObject(13592, -1424.40002, 774.70001, 10.1, 0, 0, 359.995); CreateObject(13592, -1423.59998, 779.70001, 10.1, 0, 0, 179.995); CreateObject(3458, -1361.59998, 810.40002, 0, 0, 344, 0); CreateObject(3458, -1361.69995, 807.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.80005, 803.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.90002, 798.20001, 0, 0, 343.998, 0); CreateObject(3458, -1362, 793, 0, 0, 343.998, 0); CreateObject(3458, -1361.90002, 789.20001, 0, 0, 343.998, 0); CreateObject(3458, -1361.89941, 789.19922, 0, 0, 343.998, 0); CreateObject(3458, -1360.40002, 811.5, -0.5, 286.002, 270, 270); CreateObject(3458, -1359.40002, 788, -0.5, 72.938, 290.026, 69.129); CreateObject(3458, -1354.59998, 789.20001, 3, 0, 343.998, 0); CreateObject(3458, -1355.40002, 790.59998, 1.6, 286.481, 283.671, 284.234); CreateObject(3458, -1359.40002, 787.90002, 0.5, 72.938, 290.027, 69.129); CreateObject(8947, -1411, 861.09998, 4, 34, 0, 0); CreateObject(8947, -1397.5, 861.09998, 4, 33.997, 0, 0); CreateObject(8947, -1384.30005, 861.09998, 4, 33.997, 0, 0); CreateObject(8947, -1370.09998, 861.09998, 4, 33.997, 0, 0); CreateObject(8417, -1383.80005, 745.5, 7.3, 0, 28, 88); CreateObject(8417, -1385.5, 740.40002, 9.1, 0, 39.999, 87.995); CreateObject(8417, -1385.90002, 728, 19.6, 0, 49.996, 87.99); CreateObject(8947, -1356.30005, 855.09998, 4, 33.997, 0, 310); CreateObject(8947, -1359.59998, 858.40002, 4, 33.992, 0, 335.996); CreateObject(1634, -1466.30005, 773.59998, 2, 0, 0, 120); CreateObject(1634, -1468.90002, 772.09998, 4, 18, 0, 119.998); CreateObject(1634, -1473.30005, 769.59998, 9.5, 25.996, 0, 119.993); CreateObject(1634, -1474.69995, 768.79999, 12.8, 41.994, 0, 119.993); CreateObject(1634, -1468.19995, 778.29999, 2, 0, 0, 103.998); CreateObject(1634, -1471.90002, 777.40002, 4.3, 12, 0, 103.997); CreateObject(1634, -1474.5, 776.79999, 6.8, 23.997, 0, 103.997); CreateObject(1634, -1439.09998, 831, 7, 0, 0, 173.997); CreateObject(1634, -1440, 806.79999, 1.5, 0, 0, 1.996); CreateObject(1634, -1490.40002, 789.90002, 6.8, 0, 0, 265.496); CreateObject(1634, -1487.19995, 789.59998, 8.4, 4, 0, 265.496); CreateObject(8417, -1380.5, 871.09998, 1, 0, 0, 0); CreateObject(8417, -1403.19995, 871.5, 1, 0, 0, 0); CreateObject(8417, -1380.59998, 893, 1, 0, 0, 0); CreateObject(8417, -1404.09998, 892.40002, 1, 0, 0, 0); CreateObject(8417, -1404.5, 906.5, 1, 0, 0, 0); CreateObject(8417, -1379.40002, 907.09998, 1, 0, 0, 0); CreateObject(3364, -1369.80005, 823.09998, 1, 0, 0, 180); CreateObject(6052, -1366.40002, 777.29999, 3.3, 0, 0, 0); CreateObject(6052, -1362, 776, 3.4, 0, 0, 0); //================================================================================================= //============WSS-Stunt-1 Jármûi=================================================================== AddStaticVehicleEx(550,2162.5000000,1025.6999500,10.7000000,90.0000000,45,58,15); //Sunrise AddStaticVehicleEx(550,2162.5000000,1022.7000100,10.7000000,90.0000000,45,58,15); //Sunrise AddStaticVehicleEx(400,2161.8000500,1016.0999800,11.0000000,90.0000000,38,55,15); //Landstalker AddStaticVehicleEx(434,2131.5000000,1006.2999900,11.0000000,85.9920000,22,34,15); //Hotknife AddStaticVehicleEx(434,2131.5000000,1009.2999900,11.0000000,85.9900000,22,34,15); //Hotknife AddStaticVehicleEx(461,2143.1999500,1006.7999900,10.5000000,284.0000000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2142.6001000,1009.7000100,10.5000000,283.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2142.0000000,1012.5999800,10.5000000,283.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(461,2134.0000000,1012.9000200,10.5000000,73.9970000,145,115,15); //PCJ-600 AddStaticVehicleEx(522,2133.5000000,1015.9000200,10.5000000,80.0000000,76,117,15); //NRG-500 AddStaticVehicleEx(522,2143.1999500,1018.9000200,10.5000000,279.9970000,76,117,15); //NRG-500 AddStaticVehicleEx(481,2157.8000500,987.7000100,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2155.1001000,988.2000100,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2156.8000500,987.9000200,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(481,2154.1001000,988.4000200,10.4000000,0.0000000,93,126,15); //BMX AddStaticVehicleEx(422,2151.6999500,989.2999900,10.9000000,0.0000000,155,159,15); //Bobcat AddStaticVehicleEx(422,2142.8999000,1015.5999800,10.9000000,270.0000000,155,159,15); //Bobcat AddStaticVehicleEx(411,-1200.6999500,1819.4000200,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(411,-1205.0000000,1814.3000500,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(411,-1195.1999500,1823.6999500,41.5000000,47.2500000,114,42,15); //Infernus AddStaticVehicleEx(537,-1942.8000500,165.8999900,27.4000000,355.5000000,245,245,15); //Freight AddStaticVehicleEx(590,-1944.0000000,148.3000000,27.2000000,175.2500000,-1,-1,15); //Freight Carriage AddStaticVehicleEx(487,-1600.0000000,884.2000100,47.5000000,130.0000000,39,47,15); //Maverick //==================================================================================================== //==============================MINIGAMEMAP=========================================================== CreateObject(3458, 1493.5, -3047.1001, 2.5, 0, 0, 274); CreateObject(3458, 1491, -3011.1001, 2.6, 0, 0, 273.999); CreateObject(3458, 1516.19995, -3063.30005, 2.5, 0, 0, 3.999); CreateObject(3458, 1536.5, -3062, 2.5, 0, 0, 3.994); CreateObject(3458, 1510.30005, -2992, 2.5, 0, 0, 3.994); CreateObject(3458, 1531.40002, -2990.6001, 2.4, 0, 0, 3.994); CreateObject(3458, 1552.69995, -3040.3999, 2.4, 0, 0, 93.994); CreateObject(3458, 1550.30005, -3006.19995, 2.6, 0, 0, 93.994); CreateObject(3458, 1530.19995, -3025.19995, 2.5, 0, 0, 183.994); CreateObject(3458, 1514.19995, -3026.30005, 2.5, 0, 0, 183.988); CreateObject(3458, 1563.90002, -3022.3999, 7, 0, 336, 5.244); CreateObject(3458, 1524.09998, -3042.30005, 2.6, 0, 0, 273.988); CreateObject(3458, 1522, -3012, 2.7, 0, 0, 273.983); CreateObject(3458, 1583.80005, -3019.1001, 15.1, 0, 0, 93.994); CreateObject(3458, 1597.90002, -3009.69995, 15.1, 0, 0, 154.244); CreateObject(3458, 1598.5, -3028.19995, 15.2, 0, 0, 213.994); CreateObject(3458, 1601.80005, -3019.19995, 15, 0, 0, 184.493); CreateObject(3458, 1627.90002, -3017.19995, 15, 0, 0, 184.488); CreateObject(3458, 1511.69995, -3039.1001, 2.5, 0, 0, 3.983); CreateObject(3458, 1535.80005, -3037.30005, 2.5, 0, 0, 3.983); CreateObject(3458, 1564.59998, -3034.80005, 7, 0, 335.995, 5.24); CreateObject(3458, 1511.69922, -3039.09961, 2.6, 0, 0, 3.983); CreateObject(3458, 1563.40002, -3011.19995, 7, 0, 335.995, 5.24); CreateObject(3458, 1528, -3014.19995, 2.5, 0, 0, 3.983); CreateObject(3458, 1509.19995, -3015.6001, 2.5, 0, 0, 3.983); CreateObject(3374, 1505.59998, -3022.80005, 2.7, 0, 0, 2.75); CreateObject(3374, 1505.5, -3019.3999, 2.7, 0, 0, 2.747); CreateObject(3080, 1643.69995, -3016, 17.7, 0, 0, 274.75); CreateObject(3458, 1675.59998, -3013, 21.4, 0, 0, 183.988); //==================================================================== //===========WSS-STUNT-2 LS-DOCK-GETTO================================= CreateObject(3095, 2497.5, -1662.80005, 81.5, 0, 0, 0); CreateObject(3095, 2497.5, -1671.69995, 81.5, 0, 0, 0); CreateObject(3095, 2506.3999, -1671.69995, 81.5, 0, 0, 0); CreateObject(3095, 2506.5, -1662.80005, 81.5, 0, 0, 0); CreateObject(3095, 2489.5, -1663.59998, 81.5, 22, 0, 0); CreateObject(3095, 2479.3999, -1663.59998, 81.5, 21.995, 0, 0); CreateObject(3095, 2469.8999, -1663.80005, 81.5, 21.995, 0, 0); CreateObject(3095, 2460.30005, -1663.90002, 81.5, 21.995, 0, 0); CreateObject(3095, 2450.8999, -1665.59998, 81.5, 21.995, 0, 20); CreateObject(3095, 2441.69995, -1669.59998, 81.5, 21.995, 0, 27.995); CreateObject(3095, 2433.19995, -1675.30005, 81.5, 21.995, 0, 37.993); CreateObject(3095, 2425.30005, -1681.90002, 81.5, 21.995, 0, 41.991); CreateObject(3095, 2417.80005, -1689.09998, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2410.5, -1696.5, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2402.80005, -1703.19995, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2395, -1710.30005, 81.5, 21.995, 0, 41.99); CreateObject(3095, 2391, -1719.59998, 81.5, 21.995, 0, 87.99); CreateObject(3095, 2391.5, -1729.09998, 81.5, 21.995, 0, 99.985); CreateObject(3095, 2394.3999, -1739.40002, 81.5, 21.995, 0, 107.981); CreateObject(3095, 2398.3999, -1749, 81.5, 21.995, 0, 117.979); CreateObject(3095, 2405.30005, -1757.30005, 81.5, 21.995, 0, 137.977); CreateObject(3095, 2413.3999, -1764, 81.5, 21.995, 0, 143.972); CreateObject(3095, 2423.5, -1769.09998, 81.5, 21.995, 0, 161.97); CreateObject(3095, 2433.8999, -1771.09998, 81.5, 21.995, 0, 175.966); CreateObject(3095, 2444.1001, -1771.80005, 81.5, 21.995, 0, 175.963); CreateObject(3095, 2453.5, -1772.40002, 81.5, 21.995, 0, 175.963); CreateObject(1655, 2458.5, -1772.59998, 82.8, 0, 336.75, 264.5); CreateObject(3095, 2497.80005, -1658, 80.8, 84, 180, 180); CreateObject(3095, 2506.5, -1658, 80.8, 83.996, 179.995, 179.995); CreateObject(3095, 2509.5, -1659.80005, 80.8, 83.996, 179.995, 127.995); CreateObject(3095, 2511.5, -1666.59998, 80.8, 83.99, 179.995, 89.99); CreateObject(3095, 2510.30005, -1673, 80.7, 88.02, 0.023, 243.961); CreateObject(3095, 2507.1001, -1676.19995, 80.7, 83.985, 179.995, 359.989); CreateObject(3095, 2498.6001, -1676.09998, 80.7, 83.985, 179.995, 359.984); CreateObject(3095, 2497.30005, -1676.09998, 80.7, 83.985, 179.995, 359.984); CreateObject(3095, 2492.5, -1675.09998, 80.7, 86.02, 0.011, 87.967); CreateObject(3095, 2392.1001, -1713.80005, 81.5, 21.995, 0, 53.99); CreateObject(1655, 2461, -1772, 84.8, 20.132, 335.135, 273.558); CreateObject(1655, 2590.8999, -1463.80005, 21.8, 23.998, 0, 0); CreateObject(1655, 2599.5, -1469, 17, 13.994, 0, 0); CreateObject(1655, 2590.8999, -1469, 17, 13.994, 0, 0); CreateObject(1655, 2599.30005, -1463.80005, 21.8, 23.994, 0, 0); CreateObject(1655, 2599.30005, -1465.40002, 21.3, 33.994, 0, 0); CreateObject(1655, 2608.19995, -1469, 17, 13.991, 0, 0); CreateObject(1655, 2608.30005, -1464.5, 21.3, 27.992, 0, 0); CreateObject(1655, 2608.30005, -1461.80005, 25.5, 37.988, 0, 0); CreateObject(1634, 2590.80005, -1564.40002, 8.2, 0, 0, 170); CreateObject(1634, 2590.1001, -1568.59998, 10.7, 14, 0, 169.997); CreateObject(1655, 2593.19995, -1600.5, 19.2, 0, 0, 300); CreateObject(8356, 2745.8999, -2367.3999, 52.4, 18, 0, 268.5); CreateObject(8356, 2794.3999, -2367.69995, 66.5, 21.996, 0, 268.495); CreateObject(8356, 2823, -2368.80005, 66.5, 35.995, 0, 268.489); CreateObject(8356, 2856.19995, -2369.5, 79.1, 45.991, 0, 268.489); CreateObject(8356, 2814.19995, -2370.8999, 14.3, 55.991, 0, 268.489); CreateObject(8356, 2769.3999, -2374.3999, -12.4, 55.986, 0, 268.489); CreateObject(8417, 2941.80005, -2372.1001, 146.60001, 0, 0, 358); CreateObject(3458, 2963, -2372.8999, 148.10001, 88, 0, 268); CreateObject(3458, 2940.69995, -2392.19995, 148.10001, 87.995, 0, 177.995); CreateObject(3458, 2945.19995, -2350.6001, 148.10001, 87.995, 0, 358.245); CreateObject(1655, 2671.6001, -2376.8999, 30.7, 0, 0, 88); CreateObject(1655, 2671.80005, -2368.3999, 30.7, 0, 0, 87.995); CreateObject(1655, 2672.1001, -2360, 30.7, 0, 0, 87.995); CreateObject(1655, 2672.3999, -2351.5, 30.7, 0, 0, 87.995); CreateObject(1655, 2669.30005, -2351.1001, 32.4, 14, 0, 87.995); CreateObject(1655, 2669, -2359.6001, 32.4, 13.997, 0, 87.99); CreateObject(1655, 2668.69995, -2368.1001, 32.4, 13.997, 0, 87.99); CreateObject(1655, 2668.3999, -2376.80005, 32.4, 13.997, 0, 87.99); CreateObject(13592, 2753.69995, -1862.59998, 18.8, 0, 0, 0); //===========WSS-STUNT-2 LS-DOCK-GETTO JÁRMÛVEK================================= AddStaticVehicleEx(522,2495.1001000,-1672.3000500,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2496.8999000,-1672.8000500,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2498.1999500,-1673.0000000,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2500.1001000,-1673.0999800,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2501.1999500,-1673.0999800,83.7000000,0.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2506.8000500,-1671.5000000,83.7000000,36.0000000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2508.0000000,-1669.5000000,83.7000000,35.9970000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2509.0000000,-1667.6999500,83.7000000,35.9970000,48,79,15); //NRG-500 AddStaticVehicleEx(522,2959.8999000,-2364.6001000,148.7000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(522,2960.5000000,-2363.1999500,148.5000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(522,2961.1001000,-2361.6001000,148.7000000,59.9960000,132,4,15); //NRG-500 AddStaticVehicleEx(411,2957.6001000,-2377.5000000,150.1000100,84.0000000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.3999000,-2380.6999500,150.6000100,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.1999500,-2384.3999000,150.6000100,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2957.8999000,-2372.8999000,149.3999900,83.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2948.5000000,-2355.8999000,150.6000100,173.9960000,114,42,15); //Infernus AddStaticVehicleEx(411,2943.8000500,-2355.3999000,150.6000100,173.9900000,114,42,15); //Infernus //================================================================================================ //==================WSS-Stunt-Elhagyatott-reptér================================================== return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1954.5426,1342.9369,15.3746); SetPlayerCameraPos(playerid, 1959.6799,1343.1836,15.3746); SetPlayerCameraLookAt(playerid, 1951.7332,1342.8486,15.3746); ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_C\",4.0,1,0,0,0,-1); return 1; } public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xff6600AA, \"Segítséghez írd be /teles ; /parancsok\"); SendClientMessage(playerid, 0xff6600AA, \"Szabály elolvasása / betartása kötelezõ!! /RULES\"); SendClientMessage(playerid, 0xff6600AA, \"Weboldalunk: Majd lesz\"); PlayAudioStreamForPlayer(playerid, \"http://srv09.audiothief.com/hu-HU/Video/Download/YouTube_u_ZfEt0hXTA?token=vNb21vfEt1aHR2YHalq%2Bl0etxKjN8gzC&title=Mr.Busta%2B-%2BUtca%2BHimnusz%2B(Official%2BMusic%2BVideo)\"); return 1; } public OnPlayerDisconnect(playerid, reason) { TextDrawHideForPlayer(playerid, textdraw); return 1; } public OnPlayerSpawn(playerid) { new rand = random(sizeof(RandomSpawn)); SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]); TextDrawShowForPlayer(playerid, textdraw); GivePlayerWeapon(playerid, 22, 810); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 8, 1); GivePlayerWeapon(playerid, 18, 10); StopAudioStreamForPlayer(playerid); return 1; } public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoney(playerid,GetPlayerMoney(playerid)-20000); SetPlayerScore(playerid,GetPlayerScore(playerid)-1); GivePlayerMoney(killerid,GetPlayerMoney(killerid) +20000); SetPlayerScore(killerid,GetPlayerScore(killerid) +1); new playercash; if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); ResetPlayerMoney(playerid); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } } return 1; } /* public OnPlayerText(playerid, text[]) { new MMM[256]; format (MMM, sizeof(MMM),\"[%i]: %s \", playerid, text); SendPlayerMessageToAll(playerid,MMM); SetPlayerChatBubble(playerid,text, COLOR_WHITE, 200.0 , 10000); return 1; } */ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 0; }
113
« Dátum: 2013. március 25. - 20:45:35 »
Ezt helyetted hagynám mivel elégé bugos az egész \"rendszer\" a héten publikálom az újjat Az sokkal jobb lesz.. egyébként csinálsz egy dialogot majd megjeleníted és válá! Link: http://wiki.sa-mp.com/wiki/OnDialogResponse
Igen rendben köszi.
114
« Dátum: 2013. március 25. - 17:16:04 »
Sziasztok Nos van nekem ZyZu minigameja Én ezt úgy szeretném hogy mikkor beírják hogy /minigame akkor dialogból keljen indítani Így képzelem el /minigame -ekkor elõ jön a dialog ebenn az InfernusGame És ha rákattint akkor csatlakozzon a minigame-ba Ha egy 2. személy írja be hogy /minigame akkor azt már dobja be simán Minigame Scipt amibe a dialogus kellene : #include <a_samp> #include <foreach> #include <zcmd> #include <fixchars> #pragma tabsize 0 new SUMO[MAX_PLAYERS]; new SUMOCAR2[MAX_PLAYERS]; new SumoStarted; new SumoSpawn; new Roman[MAX_PLAYERS]; new SumoCar[MAX_PLAYERS]; new SumoTimer; new SumoSec; new SumoPlayers; new InSumo[MAX_PLAYERS]; new Float:SumoSpawn2 [][4] = { {1522.0123,-3025.6169,5.2285}, {1523.2094,-3038.2798,5.1285}, {1524.9541,-3056.7307,5.1285}, {1494.0792,-3060.0000,5.0285}, {1499.3036,-3027.4492,5.0285}, {1496.6000,-3040.4119,5.1285} }; #define CashWin 10000 #define COLOR_PIROS 0xFF0000AA #define SZIN_NYERT 0xeb12d9AA //LILA #define SZIN_CSATLAKOZOTT 0xffae00AA //NARANCS /* KIESETT {00fff7} Játékos {ff0000} MINIGAME {fff700} */ public OnPlayerConnect(playerid) { InSumo[playerid] =0; SUMO[playerid]=0; return 1; } public OnPlayerDisconnect(playerid, reason) { SUMO[playerid]=0; if(InSumo[playerid] == 1) { DestroyVehicle(SumoCar[playerid]); SumoPlayers--; InSumo[playerid] = 0; new string[1900]; if(Roman[playerid] == 0) { format(string, sizeof(string), \"%s {00fff7}kiesett a minigameból!\", Name(playerid)); SetPlayerPos(playerid,-1372.7501,-263.4500,14.1484); } SendClientMessageToAll(COLOR_PIROS,string); if(SumoPlayers == 1) { for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { if(Roman[playerid] == 0) { format(string, sizeof(string), \"{ff0000}%s {cccccc}megnyerte a minigame játékot! Nyereménye: {3399ff}+%d{cccccc}$\", Name(i),CashWin); } SendClientMessageToAll(COLOR_PIROS,string); GivePlayerMoney(i,CashWin); SumoPlayers--; InSumo[playerid] = 0; SUMO[playerid]=0; SumoPlayers = 0; SumoStarted = 0; DestroyVehicle(SumoCar); SetTimerEx(\"SpawnPP\",1000,0,\"i\",i); InSumo = 0; } } } } return 1; } forward SumoRandomCar(playerid); public SumoRandomCar(playerid) { new pRandom = random(sizeof(SumoSpawn2)); new vRandom = random(5); switch (vRandom) { case 0: { DestroyVehicle(SUMOCAR2[playerid]); SUMOCAR2[playerid] = CreateVehicle(415,SumoSpawn2[pRandom][0], SumoSpawn2[pRandom][1], SumoSpawn2[pRandom][2], SumoSpawn2[pRandom][3],-1,-1,9999999);} case 1: { DestroyVehicle(SUMOCAR2[playerid]); SUMOCAR2[playerid] = CreateVehicle(415,SumoSpawn2[pRandom][0], SumoSpawn2[pRandom][1], SumoSpawn2[pRandom][2], SumoSpawn2[pRandom][3],-1,-1,9999999);} case 2: { DestroyVehicle(SUMOCAR2[playerid]); SUMOCAR2[playerid] = CreateVehicle(415,SumoSpawn2[pRandom][0], SumoSpawn2[pRandom][1], SumoSpawn2[pRandom][2], SumoSpawn2[pRandom][3],-1,-1,9999999);} case 3: { DestroyVehicle(SUMOCAR2[playerid]); SUMOCAR2[playerid] = CreateVehicle(415,SumoSpawn2[pRandom][0], SumoSpawn2[pRandom][1], SumoSpawn2[pRandom][2], SumoSpawn2[pRandom][3],-1,-1,9999999);} case 4: { DestroyVehicle(SUMOCAR2[playerid]); SUMOCAR2[playerid] = CreateVehicle(415,SumoSpawn2[pRandom][0], SumoSpawn2[pRandom][1], SumoSpawn2[pRandom][2], SumoSpawn2[pRandom][3],-1,-1,9999999);} } return SUMOCAR2[playerid]; } public OnPlayerUpdate(playerid) { if(InSumo[playerid]==1) { new Float:x,Float:y,Float:z; if(GetPlayerPos(playerid,x,y,z) && z < -1.0) { RemovePlayerFromVehicle(playerid); SUMO[playerid]=0; if(InSumo[playerid] == 1) { DestroyVehicle(SumoCar[playerid]); SumoPlayers--; InSumo[playerid] = 0; new string[128]; if(Roman[playerid] == 0) { format(string, sizeof(string), \"%s {cccccc}kiesett a minigameból!\", Name(playerid)); } SendClientMessageToAll(COLOR_PIROS,string); if(SumoPlayers == 1) { for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { if(Roman[playerid] == 0) { format(string, sizeof(string), \"{ff0000}%s {cccccc}megnyerte a minigame játékot! Nyereménye: +%d{cccccc}$\", Name(i),CashWin); } SendClientMessageToAll(COLOR_PIROS,string); GivePlayerMoney(i,CashWin); SumoPlayers = 0; SumoStarted = 0; DestroyVehicle(SumoCar); SetTimerEx(\"SpawnPP\",1000,0,\"i\",i); InSumo = 0; } } } } return 1; } } return true; } //PARANCS========================================================= CMD:minigame(playerid,params[]) { if(InSumo[playerid] == 0) { if(SumoStarted == 0) { if(Roman[playerid] == 0) { SendClientMessageToAll(0x6495EDAA,\"{3399ff}Minigame elindúlt{ff0000}(/minigame) {cccccc}funckiót!\"); } SumoStarted=1; InSumo[playerid] = 1; SumoSpawn=2; SumoTimer = SetTimer(\"StartSumo\",600,1); SumoSec = 20; TogglePlayerControllable(playerid,0); PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); SumoPlayers = 1; }else if(SumoStarted == 1) { SumoPlayers++; if(SumoSpawn == 2) { SumoSpawn=3; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 3) { SumoSpawn=4; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 4) { SumoSpawn=5; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 5) { SumoSpawn=6; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 6) { SumoSpawn=7; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 7) { SumoSpawn=8; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == { SumoSpawn=9; PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; TogglePlayerControllable(playerid,0); }else if(SumoSpawn == 9) { SumoSpawn=10; KillTimer(SumoTimer); PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); InSumo[playerid] = 1; SumoStarted = 2; SendClientMessageToAll(0xAA3333AA,\"{cccccc}Kiestél a játéból! {3399ff}Infernus Dreby {cccccc}elíndult! Csatlakozáshoz {11ff00}(/minigame)\"); for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { TogglePlayerControllable(i,1); GameTextForPlayer(i,\"~r~~h~Kiestél!\",3000,3); SetTimerEx(\"Eliminat\",500,0,\"i\",i); return 1; } return 1; } } }else SendClientMessage(playerid,0xAA3333AA,\"{3399ff}A Minigame {cccccc}már elindult!\"); }else SendClientMessage(playerid,0xAA3333AA,\"{cccccc}Te már a {3399ff}Minigameban vagy!\"); return 1; } public OnPlayerDeath(playerid, killerid, reason) { if(InSumo[playerid] == 1) { DestroyVehicle(SumoCar[playerid]); SumoPlayers--; InSumo[playerid] = 0; new string [1900]; if(Roman[playerid] == 0) { //format(string, sizeof(string), \"%s {cccccc}felrobbant a kocsija a minigameban ezért kiesett!\", Name(playerid)); } SendClientMessageToAll(COLOR_PIROS,string); if(SumoPlayers == 1) { for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { if(Roman[playerid] == 0) { format(string, sizeof(string), \"{cccccc}Ezt a játékot {ff0000}\'%s\' {cccccc}nyerte meg! Nyereménye: {3399ff}+%d{cccccc}$\", Name(i),CashWin); SetPlayerPos(playerid,-1372.7501,-263.4500,14.1484); } SendClientMessageToAll(COLOR_PIROS,string); GivePlayerMoney(i,CashWin); SumoPlayers = 0; InSumo[playerid] = 0; SumoStarted = 0; new Float:x,Float:y,Float:z; GetPlayerPos(i,x,y,z); SetPlayerPos(i,x,y,z+1); DestroyVehicle(SumoCar); SetTimerEx(\"SpawnPP\",1000,0,\"i\",i); TogglePlayerControllable(i,1); InSumo = 0; } } } } return 1; } public OnPlayerSpawn(playerid) { InSumo[playerid] =0; if(SUMO[playerid]==1) { PutPlayerInVehicle(playerid,SumoRandomCar(playerid),0); } return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { if(InSumo[playerid] == 1) { PutPlayerInVehicle(playerid,SumoCar[playerid],0); } return 1; } forward StartSumo(playerid); public StartSumo(playerid) { if(SumoSec > 1) { new time; new strec[128]; SumoSec--; time = (SumoSec); format(strec, sizeof(strec), \"~h~~r~Minigame Kezdés %d\", time); for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { GameTextForPlayer(i, strec, 3000, 3); } } } if(SumoSec == 1) { SumoSec = 0; if(SumoPlayers >= 2) { for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { GameTextForPlayer(i, \"~h~~w~- START -\", 3000, 3); KillTimer(SumoTimer); TogglePlayerControllable(i,1); SumoStarted=2; SetTimerEx(\"Eliminat\",500,0,\"i\",i); } } }else if(SumoPlayers < 2) { for(new i = 0; i < GetMaxPlayers(); i++) { if(InSumo == 1) { new Float:x,Float:y,Float:z; GetPlayerPos(i,x,y,z); SetPlayerPos(i,x,y,z+1); DestroyVehicle(SumoCar); SetTimerEx(\"SpawnPP\",1000,0,\"i\",i); KillTimer(SumoTimer); InSumo =0; TogglePlayerControllable(i,1); } } SumoStarted=0; if(Roman[playerid] == 0) { SendClientMessageToAll(0x6495EDAA,\"{fff700}MINIGAME: {ff0000}Legalább 2 játékos szûkséges!\"); SetPlayerPos(playerid,-1372.7501,-263.4500,14.1484); } } } return 1; } stock Name(playerid) { new name[24]; GetPlayerName(playerid,name,24); return name; }
115
« Dátum: 2013. március 17. - 17:13:43 »
Sziasztok Valaki készítene egy ilyen modot 3 csapat van Nézõ Kék csapat Piros csapat Mind külõn helyre spawnoljon Nézõ helye: AddPlayerClass(211,2731.3606,-2450.4683,17.5937,267.3981,0,0,0,0,0,0); // Kék csapat helye: AddPlayerClass(211,2731.3606,-2450.4683,17.5937,267.3981,0,0,0,0,0,0); // Piros csapat helye: AddPlayerClass(109,2658.1191,-2504.0791,13.4922,269.1551,0,0,0,0,0,0); // Kiválasztás Dialogban ami egy listában van Dialog lista Így kellen köszi elõre is
116
« Dátum: 2013. március 17. - 11:07:45 »
Sziasztok, azt hogyan tudom megoldani hogy ez az TextDraw parancsra jöjõn ellõ És ugyan arra a parancsra tünyõn el textdraw = TextDrawCreate(15,453,\"/work /kamion\"); TextDrawFont(textdraw,2); TextDrawUseBox(textdraw,1);
117
« Dátum: 2013. március 16. - 15:44:41 »
#define FILTERSCRIPT #include <a_samp> #include <zcmd> #include <sscanf2> #define TEAM_FIREDEPT 0 #define TEAM_AMBULANCE 0 #define TEAM_POLICEMAN 1 #define TEAM_SOLDIER 2 #define TEAM_SERGEANT 2 #define TEAM_HITMAN 3 #define TEAM_CIVILIAN 4 new gTeam[MAX_PLAYERS]; #if defined FILTERSCRIPT public OnFilterScriptInit() { print(\"\\n--------------------------------------\"); print(\"========= MUNKA =========\"); print(\"--------------------------------------\\n\"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print(\"\\n----------------------------------\"); print(\" =================================\"); print(\"----------------------------------\\n\"); } #endif CMD:firedept(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_FIREDEPT; SetPlayerSkin(playerid,278); GivePlayerWeapon(playerid, 42, 200); format(string, sizeof(string), \"%s mostantól Tûzoltó ként dolgozik! /firedept\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Tûzoltó munkába! Segítségért: /jobhelp. Fizetése: $39000. Felmondásért: /felmond\"); munkafizu = SetTimerEx(\"TuzoltoMunkaTimer\", 780000,true, \"i\", playerid); return 1; } } CMD:police(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_POLICEMAN; SetPlayerSkin(playerid,266); GivePlayerWeapon(playerid, 24, 200); format(string, sizeof(string), \"%s mostantól Rendõr ként dolgozik! /police\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Rendõr munkába! Segítségért: /jobhelp. Fizetése: $35000. Felmondásért: /felmond\"); munkafizu = SetTimerEx(\"PoliceMunkaTimer\", 780000,true, \"i\", playerid); return 1; } } CMD:ambulance(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_AMBULANCE; SetPlayerSkin(playerid,266); GivePlayerWeapon(playerid, 24, 200); format(string, sizeof(string), \"%s mostantól Mentõs ként dolgozik! /ambulance\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Mentõs munkába! Segítségért: /jobhelp. Fizetése: $35000. Felmondásért: /felmond\"); munkafizu = SetTimerEx(\"MentosMunkaTimer\", 780000,true, \"i\", playerid); return 1; } } CMD:soldier(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_SOLDIER; SetPlayerSkin(playerid,266); GivePlayerWeapon(playerid, 24, 200); format(string, sizeof(string), \"%s mostantól Katona ként dolgozik! /soldier\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Katona munkába! Segítségért: /jobhelp. Fizetése: $39000. Felmondásért: /felmond\"); munkafizu = SetTimerEx(\"SoldierMunkaTimer\", 780000,true, \"i\", playerid); return 1; } } CMD:sergeant(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_SERGEANT; SetPlayerSkin(playerid,266); GivePlayerWeapon(playerid, 24, 200); format(string, sizeof(string), \"%s mostantól Testõr ként dolgozik! /sergeant\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Testõr munkába! Segítségért: /jobhelp. Fizetése: $42000. Felmondásért: /felmond\"); //munkafizu = SetTimerEx(\"SergeantMunkaTimer\", 780000,true, \"i\", playerid); return 1; } } CMD:hitman(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN || TEAM_FIREDEPT || TEAM_AMBULANCE || TEAM_SOLDIER|| TEAM_SERGEANT|| TEAM_HITMAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked már van egy munkád. Elõbb lépj ki, hogy betudj lépni egy újabba! /felmond\"); { new string[48]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); gTeam[playerid] = TEAM_HITMAN; SetPlayerSkin(playerid,266); GivePlayerWeapon(playerid, 24, 200); format(string, sizeof(string), \"%s mostantól Bérgyilkos ként dolgozik! /hitman\", name); SendClientMessageToAll(0x339933AA, string); SendClientMessage(playerid, 0xFF9900AA, \"Sikeresen beléptél a Bérgyilkos munkába! Segítségért: /jobhelp. Fizetése: Nincs. Felmondásért: /felmond\"); return 1; } } CMD:jobhelp(playerid, params[]) { if(gTeam[playerid] == TEAM_POLICEMAN) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}35000$\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A rendõr célja az, hogy elfogja a búnözõket, és megbüntesse õket.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{00FF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_FIREDEPT) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}39000$\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /heal [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A tûzoltó célja az, hogy eloltsa a tüzet.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{FFFF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_AMBULANCE) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}37000$\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /heal [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A mentõs célja az, hogy meggyógyíthassa a játékosokokat.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{FFFF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_SOLDIER) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}39000$\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A katonának nincsnek célja.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{FFFF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_SERGEANT) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}42000$\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /heal [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A testõr célja az, hogy megvédje a játékosokokat.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{FFFF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_HITMAN) { new BigString15[1900]; strcat(BigString15, \"{FF0000}Fizetés: {00FF00}Nincs\\n\", 1900 ); strcat(BigString15, \"{FF0000}Parancsok: {00FF00}/find [id] /heal [id] /felmond\\n\", 1900 ); strcat(BigString15, \"{00FF00}A bérgyilkos célja az, hogy megöljön egy játékostól kért játékost.\\n\", 1900 ); ShowPlayerDialog(playerid, 50, DIALOG_STYLE_MSGBOX, \"{FFFF00}Munka Segítség\", BigString15, \"Oké\",\"Mégsem\"); } else if(gTeam[playerid] == TEAM_CIVILIAN) { SendClientMessage(playerid, 0xFF0000AA, \"Jelenleg nincs munkád. Munkákért használd a /jobs parancsot.\"); } return 1; } CMD:felmond(playerid, params[]) { gTeam[playerid] = TEAM_CIVILIAN; SendClientMessage(playerid,0x00FF00AA, \"Sikeresen felmondtál a munkádból. Ha újból beszeretnél lépni egybe, akkor használd a /jobs parancsot.\"); ResetPlayerWeapons(playerid); if(gTeam[playerid] == TEAM_CIVILIAN) return SendClientMessage(playerid, 0xFF0000AA, \"Neked jelenleg nincs munkád. Munkákért használd a /jobs parancsot.\"); return 1; } CMD:find(playerid, params[]) { new celpont; new celpontnev[MAX_PLAYER_NAME]; GetPlayerName(playerid, celpontnev, sizeof(celpontnev)); new string[32]; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(gTeam[playerid] == TEAM_POLICEMAN) { if(sscanf(params, \"u\", celpont)) return SendClientMessage(playerid, 0xff5900AA, \"Használat: /find [Név/ID]\"); { if(IsPlayerConnected(celpont)) return SendClientMessage(playerid, 0xff5900AA, \"Rossz id vagy név\"); { format(string, sizeof(string), \"Megtaláltad %s-t.\", celpontnev); SendClientMessage(playerid, 0x0900ffAA, string); SetPlayerMarkerForPlayer(playerid, celpont, 0xff5900AA); //=== } } } if(gTeam[playerid] == TEAM_FIREDEPT) { if(sscanf(params, \"u\", celpont)) return SendClientMessage(playerid, 0xff5900AA, \"Használat: /find [Név/ID]\"); { if(!IsPlayerConnected(celpont)) return SendClientMessage(playerid, 0xff5900AA, \"Rosz id vagy Név\"); { format(string, sizeof(string), \"Megtaláltad %s-t.\", celpontnev); SendClientMessage(playerid, 0x0900ffAA, string); SetPlayerMarkerForPlayer(playerid, celpont, 0xff5900AA); } } } if(gTeam[playerid] == TEAM_CIVILIAN) { SendClientMessage(playerid, 0xff5900AA, \"Ezt a parancsot nem hsználhatod.\"); } return 1; } forward TuzoltoMunkaTimer(playerid); public TuzoltoMunkaTimer(playerid) { new string[255]; format(string, 128, \"{FFFFFF}FIZETÉS - Megkaptad a fizetésed. $39000-et. Ha kiszeretnél lépni a munkából, akkor /felmond.\"); GivePlayerMoney(playerid, 39000); return 1; } forward PoliceMunkaTimer(playerid); public PoliceMunkaTimer(playerid) { new string[255]; format(string, 128, \"{FFFFFF}FIZETÉS - Megkaptad a fizetésed. $35000-et. Ha kiszeretnél lépni a munkából, akkor /felmond.\"); GivePlayerMoney(playerid, 39000); return 1; } forward MentosMunkaTimer(playerid); public MentosMunkaTimer(playerid) { new string[255]; format(string, 128, \"{FFFFFF}FIZETÉS - Megkaptad a fizetésed. $37000-et. Ha kiszeretnél lépni a munkából, akkor /felmond.\"); GivePlayerMoney(playerid, 39000); return 1; } forward SoldierMunkaTimer(playerid); public SoldierMunkaTimer(playerid) { new string[255]; format(string, 128, \"{FFFFFF}FIZETÉS - Megkaptad a fizetésed. $39000-et. Ha kiszeretnél lépni a munkából, akkor /felmond.\"); GivePlayerMoney(playerid, 39000); return 1; } forward SergeantMunkaTimer(playerid); public SergeantMunkaTimer(playerid) { new string[255]; format(string, 128, \"{FFFFFF}FIZETÉS - Megkaptad a fizetésed. $42000-et. Ha kiszeretnél lépni a munkából, akkor /felmond.\"); GivePlayerMoney(playerid, 39000); return 1; }
Ugyan az a hiba
118
« Dátum: 2013. március 16. - 15:27:45 »
Téma megoldva köszönöm a segítséget
119
« Dátum: 2013. március 14. - 16:22:11 »
Sziasztok, kellene nekme egy olyan hogy ha a player 4 számjegynél többet ír be egy játékos akkor azt kipontozza gondolom értitek PL: 80.249.**.*:**** 80.2434.12.134:1000 <-- kitalált IP Cím
120
« Dátum: 2013. március 14. - 15:29:28 »
Sziasztok, Nos valaki készítene nekem egy munkát valahogy így. -csak rendõr és tûzoltós kell /tuzolto - munlába állás /police - -||- ekkor a skinjét cserélje le egy rendõre/tûzótora HA MEGLEHET OLDANI /find [playerid] megjelõli a térképen Pirossal a playert és ha EZT MEGTUDOD AKKOR: jobb alsó sarokban írja hogy hány méterre van /exit job - kilépés a munkából ha kilépett tölcse vissza a skinjét. HA TUDOD/Megcsinálnád: a munkában kapott fegyvereket törölje Rendõr fegyver: Deagle Tûzoltó : poroltó Poroltó id: 42 Deagle id: 23 Rendõr Skin: 266 Tûzoltó Skin: 278
Oldalak: 1 ... 6 7 [8] 9 10 ... 13
|