-
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;
}
-
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;
}
-
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õ
-
Helló! Gondolom erre gondolsz:
#include <a_samp>
#pragma tabsize 0
#define DialogTeles 0
#define DialogTeles1 1
#define DialogTelesKoordináták 2
#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}
};
main()
{
print(\"\\n======================================\");
print(\" [HUN]..:::Word Stunt Server:::..\");
print(\"======================================\\n\");
}
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ármu\"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ÁRMU\"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 OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/teles\", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, \"Teleportok\", \"Stuntok\\nParkourok\\nStb\",\"Kiválaszt\",\"Kilépés\");
return 1;
}
return 0;
}
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ötelezo!! | /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 == 0 )
{
if ( !response )
{
SendClientMessage(playerid,SZIN_PIROS,\"Te kiléptél a panelböl!\");
return 1;
}
if ( listitem == 0 )
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, \"Teleportok\",\"Kecskehegy\\nMacskahegy\\nKecskeség\\n\",\"Kiválaszt\",\"Kilépés\");
}
}
if (dialogid == 1 )
{
if ( !response )
{
SendClientMessage(playerid,SZIN_PIROS,\"Te kiléptél a panelböl!\");
return 1;
}
if ( listitem == 0 )
{
SetPlayerPos(playerid,0.0,0.0,3.0);
}
return 1;
}
return 0;
}
Egy telét megcsináltam! Beirod /teles és kiadja: Stunt, Parkour, Stb, rámész a Stunt ra, és ott kiirja Kecskehegy stb xD nem juttott más eszembe xD. És akkor ott kiválasztod a kecskehegyet és elteleportál a világ közepéhez(Farmra). Azt úgy tudod átállitani hogy átirod a playerid, tol kezdve a számokat! És ha tovább szeretnéd még a macska hegyet is hozzáadnihogy hova telézzen cska megismétled:á
if ( listitem == 0 )
{
SetPlayerPos(playerid,X,Y,Z);
}
Arra vigyázz hogy a többinél ne ugyan azt a listitem == 0 ird, hanem a Macskahegynél pl 1 el növekszik, == 1! Pl:
if ( listitem == 1 )
{
SetPlayerPos(playerid,X,Y,Z);
}
Kijavitottam még ott pár hibát, kiszedtem az if defined FilterScriptet mert látom GM lenne. Remélem segitettem! :)
-
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õ
[/quote]
-Ez ppont olyan...
A többit meg neked kéne hozzárakni hogy legyen pl: parkour