Üdv, Nos készítettem egy Game Mode-t ami nem nagy de valakinek biztos hogy hasznára válik.
Tartalom:
/fight
/radio
/cmds
/teles
Jármû:
/lock
/unlock
/carjump
/carjumpoff
Teleportok:
/ch=Chilliad
/katonasag
/rend
/fb
/stunt
/jizzy
/ls
/lv
/sf
/sf-air
/lv-air
/ls-air
Egyéb:
/jump
/jump2
/drift
Képek:
http://kepfeltoltes.hu/130511/427631265sa-mp-018_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/673285098sa-mp-019_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/866493000sa-mp-020_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/940190652sa-mp-021_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/15839068sa-mp-023_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/1217175875sa-mp-024_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/259857985sa-mp-025_www.kepfeltoltes.hu_.png[/img]
http://kepfeltoltes.hu/130511/80354805sa-mp-026_www.kepfeltoltes.hu_.png[/img]
mod:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#pragma tabsize 0
#define COLOR_SÁRGA 0xfff700AA
#define COLOR_PIROS 0xff0000AA
#define COLOR_KÉK 0x2b00ffAA
#define COLOR_ZÖLD 0x1eff00AA
#define COLOR_NARANCS 0xff7b00A
#define COLOR_FEHÉR 0xffffffAA
#define COLOR_SZÜRKE 0x858482AA
#define COLOR_FEKETE 0x000000AA
#define COLOR_BLUE 0x33CCFFAA
#define COLOR_YELLOW 0xFFFF00AA
#define DIALOG_FIGHT 1246
#define DIALOG_A 1248
#define DIALOG_J 1249
#define DIALOG_CMDS 2345
//COUNT===============
new Count = 5;
new CountText[5][5] ={
\"~r~1\",
\"~r~2\",
\"~r~3\",
\"~b~4\",
\"~b~5\"
};
//Random_Spawn===============
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}
};
forward CountDown();
new SpawnedVehicles[MAX_PLAYERS];
new VehicleNames[212][] = {
{\"Landstalker\"},{\"Bravura\"},{\"Buffalo\"},{\"Linerunner\"},{\"Perrenial\"},{\"Sentinel\"},{\"Dumper\"},
{\"Firetruck\"},{\"Trashmaster\"},{\"Stretch\"},{\"Manana\"},{\"Infernus\"},{\"Voodoo\"},{\"Pony\"},{\"Mule\"},
{\"Cheetah\"},{\"Ambulance\"},{\"Leviathan\"},{\"Moonbeam\"},{\"Esperanto\"},{\"Taxi\"},{\"Washington\"},
{\"Bobcat\"},{\"Mr Whoopee\"},{\"BF Injection\"},{\"a5s4f56as4da\"},{\"Premier\"},{\"Enforcer\"},{\"Securicar\"},
{\"Banshee\"},{\"Predator\"},{\"Bus\"},{\"sad5dsa46d\"},{\"Barracks\"},{\"Hotknife\"},{\"Trailer 1\"},{\"Previon\"},
{\"Coach\"},{\"Cabbie\"},{\"Stallion\"},{\"Rumpo\"},{\"RC Bandit\"},{\"Romero\"},{\"Packer\"},{\"Monster\"},
{\"Admiral\"},{\"Squalo\"},{\"sadas44d6\"},{\"Pizzaboy\"},{\"Tram\"},{\"Trailer 2\"},{\"Turismo\"},
{\"Speeder\"},{\"Reefer\"},{\"Tropic\"},{\"Flatbed\"},{\"Yankee\"},{\"Caddy\"},{\"Solair\"},{\"Berkley\'s RC Van\"},
{\"Skimmer\"},{\"PCJ-600\"},{\"Faggio\"},{\"Freeway\"},{\"RC Baron\"},{\"RC Raider\"},{\"Glendale\"},{\"Oceanic\"},
{\"Sanchez\"},{\"Sparrow\"},{\"Patriot\"},{\"Quad\"},{\"Coastguard\"},{\"Dinghy\"},{\"Hermes\"},{\"Sabre\"},
{\"Rustler\"},{\"ZR-350\"},{\"Walton\"},{\"Regina\"},{\"Comet\"},{\"BMX\"},{\"Burrito\"},{\"Camper\"},{\"Marquis\"},
{\"Baggage\"},{\"Dozer\"},{\"Maverick\"},{\"News Chopper\"},{\"Rancher\"},{\"FBI Rancher\"},{\"Virgo\"},{\"Greenwood\"},
{\"Jetmax\"},{\"Hotring\"},{\"Sandking\"},{\"Blista Compact\"},{\"Police Maverick\"},{\"Boxville\"},{\"Benson\"},
{\"Mesa\"},{\"RC Goblin\"},{\"Hotring Racer A\"},{\"Hotring Racer B\"},{\"Bloodring Banger\"},{\"Rancher\"},
{\"Super GT\"},{\"Elegant\"},{\"Journey\"},{\"Bike\"},{\"Mountain Bike\"},{\"Beagle\"},{\"Cropdust\"},{\"Stunt\"},
{\"Tanker\"}, {\"Roadtrain\"},{\"Nebula\"},{\"Majestic\"},{\"Buccaneer\"},{\"Shamal\"},{\"5a4s5as4f\"},{\"FCR-900\"},
{\"NRG-500\"},{\"HPV1000\"},{\"Cement Truck\"},{\"Tow Truck\"},{\"Fortune\"},{\"Cadrona\"},{\"FBI Truck\"},
{\"Willard\"},{\"Forklift\"},{\"Tractor\"},{\"Combine\"},{\"Feltzer\"},{\"Remington\"},{\"Slamvan\"},
{\"Blade\"},{\"Freight\"},{\"Streak\"},{\"Vortex\"},{\"Vincent\"},{\"Bullet\"},{\"Clover\"},{\"Sadler\"},
{\"Firetruck LA\"},{\"Hustler\"},{\"Intruder\"},{\"Primo\"},{\"Cargobob\"},{\"Tampa\"},{\"Sunrise\"},{\"Merit\"},
{\"Utility\"},{\"Nevada\"},{\"Yosemite\"},{\"Windsor\"},{\"Monster A\"},{\"Monster B\"},{\"Uranus\"},{\"Jester\"},
{\"Sultan\"},{\"Stratum\"},{\"Elegy\"},{\"Raindance\"},{\"RC Tiger\"},{\"Flash\"},{\"Tahoma\"},{\"Savanna\"},
{\"Bandito\"},{\"Freight Flat\"},{\"Streak Carriage\"},{\"Kart\"},{\"Mower\"},{\"Duneride\"},{\"Sweeper\"},
{\"Broadway\"},{\"Tornado\"},{\"AT-400\"},{\"DFT-30\"},{\"Huntley\"},{\"Stafford\"},{\"BF-400\"},{\"Newsvan\"},
{\"Tug\"},{\"Trailer 3\"},{\"Emperor\"},{\"Wayfarer\"},{\"Euros\"},{\"Hotdog\"},{\"Club\"},{\"Freight Carriage\"},
{\"Trailer 3\"},{\"Andromada\"},{\"Dodo\"},{\"RC Cam\"},{\"Launch\"},{\"Police Car (LSPD)\"},{\"Police Car (SFPD)\"},
{\"Police Car (LVPD)\"},{\"Police Ranger\"},{\"Picador\"},{\"S.W.A.T. Van\"},{\"Alpha\"},{\"Phoenix\"},{\"Glendale\"},
{\"Sadler\"},{\"Luggage Trailer A\"},{\"Luggage Trailer B\"},{\"Stair Trailer\"},{\"Boxville\"},{\"Farm Plow\"},
{\"Utility Trailer\"}
};
forward VehicleOccupied(vehicleid);
forward SetPlayerRandomSpawn(playerid);
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print(\"\\n**************************\");
print(\"[HUN..:::Free Stunt Mod:::..\");
print(\"**************************\\n\");
pmeng = true;
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print(\"\\n**************************\");
print(\"[HUN..:::Free Stunt Mod:::..\");
print(\"**************************\\n\");
}
#endif
public OnGameModeInit()
{
SetGameModeText(\"[HUN]Minigame/Race/Dm\");
UsePlayerPedAnims();
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(3, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(4, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(5, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(6, 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);
//=====================================================================================
//=====================================================================================
//*******************************jármûvek**********************************************
AddStaticVehicleEx(584,-537.2000100,-499.7999900,27.5000000,0.0000000,245,245,15); //Trailer 3
AddStaticVehicleEx(584,-543.9000200,-499.3999900,27.5000000,0.0000000,245,245,15); //Trailer 3
AddStaticVehicleEx(435,-567.2000100,-472.7000100,27.0000000,180.0000000,245,245,15); //Trailer 1
AddStaticVehicleEx(435,-559.7999900,-474.2000100,27.0000000,180.0000000,245,245,15); //Trailer 1
AddStaticVehicleEx(403,-612.7999900,-486.0000000,26.2000000,270.0000000,61,74,15); //Linerunner
AddStaticVehicleEx(403,-613.4000200,-477.5000000,26.2000000,270.0000000,61,74,15); //Linerunner
AddStaticVehicleEx(403,-613.2999900,-493.8999900,26.2000000,270.0000000,61,74,15); //Linerunner
AddStaticVehicleEx(515,-582.7999900,-498.1000100,26.7000000,0.0000000,102,28,15); //Roadtrain
AddStaticVehicleEx(515,-576.2999900,-498.0000000,26.7000000,0.0000000,102,28,15); //Roadtrain
AddStaticVehicleEx(515,-569.0000000,-497.8999900,26.7000000,0.0000000,102,28,15); //Roadtrain
AddStaticVehicleEx(435,-519.4000200,-475.8999900,26.7000000,180.0000000,245,245,15); //Trailer 1
AddStaticVehicleEx(435,-528.4000200,-475.7999900,26.7000000,180.0000000,245,245,15); //Trailer 1
AddStaticVehicleEx(530,-520.5000000,-499.2000100,26.0000000,0.0000000,68,98,15); //Forklift
AddStaticVehicleEx(530,-529.4000200,-499.3999900,26.0000000,0.0000000,68,98,15); //Forklift
AddStaticVehicleEx(476,-1636.1999500,-259.5000000,16.3000000,12.0000000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1653.0000000,-263.8999900,16.3000000,11.9970000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1670.0999800,-264.3999900,16.3000000,351.9970000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1685.9000200,-259.6000100,16.3000000,331.9960000,170,157,15); //Rustler
AddStaticVehicleEx(476,-1699.8000500,-247.3999900,16.3000000,311.9960000,170,157,15); //Rustler
AddStaticVehicleEx(519,-1478.0000000,-183.8000000,15.1000000,42.0000000,245,245,15); //Shamal
AddStaticVehicleEx(519,-1462.1999500,-157.3000000,15.1000000,43.9950000,245,245,15); //Shamal
AddStaticVehicleEx(485,-1516.0000000,-179.6000100,14.3000000,48.0000000,245,245,15); //Baggage
AddStaticVehicleEx(485,-1520.6999500,-184.8999900,14.3000000,47.9990000,245,245,15); //Baggage
AddStaticVehicleEx(485,-1435.0999800,-134.0000000,14.6000000,47.9990000,245,245,15); //Baggage
AddStaticVehicleEx(556,-1549.3000500,-213.3000000,15.1000000,49.0000000,245,245,15); //Monster A
AddStaticVehicleEx(556,-1554.8000500,-218.8000000,15.6000000,48.9990000,245,245,15); //Monster A
AddStaticVehicleEx(411,-1534.0000000,-199.8000000,15.2000000,70.0000000,114,42,15); //Infernus
AddStaticVehicleEx(411,-1530.8000500,-195.2000000,15.2000000,69.9980000,114,42,15); //Infernus
AddStaticVehicleEx(411,-1527.3000500,-190.5000000,15.2000000,79.9980000,114,42,15); //Infernus
AddStaticVehicleEx(476,-1704.4000200,-231.6000100,16.3000000,291.9950000,170,157,15); //Rustler
AddStaticVehicleEx(411,-2033.6999500,170.5000000,29.1000000,270.0000000,32,32,15); //Infernus
AddStaticVehicleEx(411,-2033.3000500,177.6000100,29.1000000,270.0000000,32,32,15); //Infernus
AddStaticVehicleEx(429,-1922.1999500,244.3000000,41.1000000,0.0000000,245,245,15); //Banshee
AddStaticVehicleEx(429,-1925.6999500,244.2000000,41.1000000,0.0000000,245,245,15); //Banshee
AddStaticVehicleEx(429,-1929.9000200,244.1000100,41.1000000,0.0000000,245,245,15); //Banshee
AddStaticVehicleEx(541,-1927.9000200,273.8999900,41.7000000,182.0000000,37,37,15); //Bullet
AddStaticVehicleEx(541,-1935.6999500,274.2000100,41.7000000,182.0000000,37,37,15); //Bullet
AddStaticVehicleEx(555,-1947.0000000,267.2000100,40.8000000,132.0000000,42,119,15); //Windsor
AddStaticVehicleEx(555,-1947.3000500,260.2999900,40.8000000,131.9950000,42,119,15); //Windsor
AddStaticVehicleEx(558,-1897.3000500,243.5000000,41.4000000,357.0000000,89,110,15); //Uranus
AddStaticVehicleEx(559,-1984.6999500,271.2000100,34.9000000,268.0000000,170,173,15); //Jester
AddStaticVehicleEx(559,-1986.1999500,265.6000100,34.9000000,255.9990000,170,173,15); //Jester
AddStaticVehicleEx(560,-1987.0999800,257.5000000,35.0000000,264.0000000,94,112,15); //Sultan
AddStaticVehicleEx(560,-1988.3000500,253.5000000,35.0000000,263.9960000,94,112,15); //Sultan
AddStaticVehicleEx(560,-1989.0000000,249.2000000,35.0000000,263.9960000,94,112,15); //Sultan
AddStaticVehicleEx(524,-2038.5000000,283.7999900,36.8000000,224.0000000,30,46,15); //Cement Truck
AddStaticVehicleEx(524,-2047.5000000,279.5000000,36.8000000,223.9950000,30,46,15); //Cement Truck
AddStaticVehicleEx(417,-1951.3000500,281.3999900,49.8000000,218.0000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(407,-2021.8000500,75.0000000,28.7000000,274.0000000,132,4,15); //Firetruck
AddStaticVehicleEx(407,-2020.1999500,83.3000000,29.7000000,267.9990000,132,4,15); //Firetruck
AddStaticVehicleEx(544,-2016.5000000,91.7000000,29.1000000,270.0000000,132,4,15); //Firetruck LA
AddStaticVehicleEx(603,-2051.6001000,14.5000000,35.8000000,0.0000000,123,10,15); //Phoenix
AddStaticVehicleEx(603,-2055.0000000,15.3000000,35.8000000,0.0000000,123,10,15); //Phoenix
AddStaticVehicleEx(603,-2059.6001000,16.3000000,35.8000000,0.0000000,123,10,15); //Phoenix
AddStaticVehicleEx(401,-2064.5000000,-83.5000000,34.9000000,0.0000000,77,98,15); //Bravura
AddStaticVehicleEx(410,-2068.3999000,-83.5000000,35.0000000,0.0000000,70,89,15); //Manana
AddStaticVehicleEx(496,-2073.0000000,-83.7000000,35.0000000,0.0000000,-1,-1,15); //Blista Compact
AddStaticVehicleEx(535,-2077.1999500,-83.6000000,35.0000000,0.0000000,98,68,15); //Slamvan
AddStaticVehicleEx(535,-2081.0000000,-83.4000000,35.0000000,0.0000000,98,68,15); //Slamvan
AddStaticVehicleEx(550,-2352.1999500,-127.1000000,35.5000000,178.0000000,156,161,15); //Sunrise
AddStaticVehicleEx(550,-2348.6999500,-127.0000000,35.5000000,178.0000000,156,161,15); //Sunrise
AddStaticVehicleEx(400,-2337.3999000,-127.0000000,36.2000000,180.0000000,38,55,15); //Landstalker
AddStaticVehicleEx(400,-2331.1999500,-127.6000000,36.2000000,180.0000000,38,55,15); //Landstalker
AddStaticVehicleEx(589,-2616.3999000,-131.3999900,4.6000000,90.0000000,105,30,15); //Club
AddStaticVehicleEx(431,-2617.8000500,-25.5000000,5.1000000,180.0000000,109,108,15); //Bus
AddStaticVehicleEx(434,-2935.1001000,448.2999900,4.6000000,182.0000000,93,126,15); //Hotknife
AddStaticVehicleEx(434,-2939.1001000,448.0000000,4.6000000,182.0000000,93,126,15); //Hotknife
AddStaticVehicleEx(434,-2943.3000500,447.5000000,4.6000000,182.0000000,93,126,15); //Hotknife
AddStaticVehicleEx(481,-2881.3999000,740.2999900,29.6000000,76.0000000,142,140,15); //BMX
AddStaticVehicleEx(422,-2645.0000000,1335.8000500,8.0000000,0.0000000,106,122,15); //Bobcat
AddStaticVehicleEx(422,-2640.6999500,1335.6999500,8.0000000,0.0000000,106,122,15); //Bobcat
AddStaticVehicleEx(411,-2636.5000000,1336.4000200,7.8000000,0.0000000,16,80,15); //Infernus
AddStaticVehicleEx(411,-2631.6999500,1336.5999800,7.8000000,0.0000000,16,80,15); //Infernus
AddStaticVehicleEx(429,-2640.8000500,1377.6999500,7.4000000,184.0000000,93,126,15); //Banshee
AddStaticVehicleEx(451,-2637.0000000,1378.5000000,7.7000000,180.0000000,27,55,15); //Turismo
AddStaticVehicleEx(506,-2631.3000500,1378.3000500,8.1000000,180.0000000,76,117,15); //Super GT
AddStaticVehicleEx(541,1907.5000000,2085.8999000,11.5000000,40.0000000,42,119,15); //Bullet
AddStaticVehicleEx(558,2107.8999000,2207.1999500,11.2000000,354.0000000,100,13,15); //Uranus
AddStaticVehicleEx(559,2103.1999500,2207.0000000,11.1000000,356.7500000,170,173,15); //Jester
AddStaticVehicleEx(412,2097.8000500,2208.1999500,11.6000000,0.0000000,45,58,15); //Voodoo
AddStaticVehicleEx(584,2057.5000000,2251.8000500,12.8000000,90.0000000,245,245,15); //Trailer 3
AddStaticVehicleEx(598,2254.1001000,2460.1999500,11.2000000,0.0000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,2270.6001000,2459.3999000,11.2000000,0.0000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,2277.1999500,2460.0000000,11.2000000,180.0000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,2289.8000500,2458.8000500,11.2000000,180.0000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(599,2273.6001000,2445.1999500,12.0000000,0.0000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,2281.3000500,2445.0000000,12.0000000,0.0000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(601,2260.6001000,2445.8000500,11.6000000,0.0000000,245,245,15); //S.W.A.T. Van
AddStaticVehicleEx(601,2256.6001000,2445.6999500,11.6000000,0.0000000,245,245,15); //S.W.A.T. Van
AddStaticVehicleEx(596,2251.8000500,2474.5000000,11.4000000,0.0000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(596,2255.8000500,2474.8999000,11.4000000,0.0000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(402,2130.8999000,2470.8000500,11.6000000,0.0000000,77,132,15); //Buffalo
AddStaticVehicleEx(402,2122.8999000,2471.0000000,11.6000000,0.0000000,77,132,15); //Buffalo
AddStaticVehicleEx(520,1373.8000500,1768.1999500,12.5000000,180.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,1386.8000500,1768.1999500,12.5000000,180.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,1398.8000500,1768.1999500,12.5000000,180.0000000,-1,-1,15); //Hydra
AddStaticVehicleEx(577,1557.8000500,1588.4000200,13.8000000,86.0000000,189,190,15); //AT-400
AddStaticVehicleEx(592,1567.4000200,1314.5000000,14.5000000,90.0000000,245,245,15); //Andromada
AddStaticVehicleEx(546,1462.4000200,1835.5000000,11.5000000,180.0000000,42,119,15); //Intruder
AddStaticVehicleEx(546,1467.9000200,1835.3000500,11.5000000,180.0000000,42,119,15); //Intruder
AddStaticVehicleEx(546,1474.0999800,1836.0999800,11.5000000,180.0000000,42,119,15); //Intruder
AddStaticVehicleEx(550,1478.9000200,1839.3000500,11.5000000,186.0000000,22,34,15); //Sunrise
AddStaticVehicleEx(585,2162.3999000,1025.4000200,11.3000000,270.0000000,45,58,15); //Emperor
AddStaticVehicleEx(422,2162.5000000,1028.8000500,11.9000000,270.0000000,106,122,15); //Bobcat
AddStaticVehicleEx(600,2162.8000500,1016.0999800,10.7000000,272.0000000,95,10,15); //Picador
AddStaticVehicleEx(522,2133.8000500,1009.7999900,10.8000000,90.0000000,48,79,15); //NRG-500
AddStaticVehicleEx(522,2133.3999000,1012.5000000,10.8000000,90.0000000,48,79,15); //NRG-500
AddStaticVehicleEx(522,2133.6999500,1007.2000100,10.8000000,90.0000000,48,79,15); //NRG-500
AddStaticVehicleEx(481,2141.8999000,1009.7999900,10.6000000,300.0000000,142,140,15); //BMX
AddStaticVehicleEx(481,2141.3000500,1012.2000100,10.6000000,299.9980000,142,140,15); //BMX
AddStaticVehicleEx(402,2143.1999500,1019.4000200,11.3000000,270.0000000,66,31,15); //Buffalo
AddStaticVehicleEx(411,2143.8999000,1025.5000000,11.6000000,270.0000000,114,42,15); //Infernus
AddStaticVehicleEx(415,2176.1001000,989.4000200,11.5000000,0.0000000,59,78,15); //Cheetah
AddStaticVehicleEx(429,2182.3000500,988.7999900,11.1000000,0.0000000,42,119,15); //Banshee
AddStaticVehicleEx(451,2173.0000000,1016.0999800,11.1000000,90.0000000,51,95,15); //Turismo
AddStaticVehicleEx(477,2172.1001000,1009.7999900,11.2000000,89.7500000,98,11,15); //ZR-350
AddStaticVehicleEx(541,2037.9000200,1015.7000100,11.0000000,0.0000000,156,156,15); //Bullet
AddStaticVehicleEx(541,2037.9000200,1008.7000100,11.3000000,0.0000000,156,156,15); //Bullet
AddStaticVehicleEx(559,1882.6999500,957.2000100,11.0000000,90.0000000,88,89,15); //Jester
AddStaticVehicleEx(559,1882.5999800,963.4000200,11.0000000,90.0000000,88,89,15); //Jester
AddStaticVehicleEx(559,2039.1999500,1592.0000000,11.1000000,0.0000000,170,173,15); //Jester
AddStaticVehicleEx(559,2038.6999500,1601.0000000,11.1000000,0.0000000,170,173,15); //Jester
AddStaticVehicleEx(562,2192.3000500,1822.1999500,10.8000000,0.0000000,31,37,15); //Elegy
AddStaticVehicleEx(562,2185.3999000,1822.9000200,10.7000000,180.0000000,31,37,15); //Elegy
AddStaticVehicleEx(560,2170.3999000,1981.0999800,11.1000000,90.0000000,94,112,15); //Sultan
AddStaticVehicleEx(560,2170.6001000,1988.4000200,11.1000000,90.0000000,94,112,15); //Sultan
AddStaticVehicleEx(560,2170.5000000,1973.5999800,11.1000000,90.0000000,94,112,15); //Sultan
//Vehicles: 127
//=====================================================================================
//================================================================================
//******************************EGYÉB**********************************************
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1979.5946,1575.4733,21.5213);
SetPlayerCameraPos(playerid, 1988.4706,1562.5751,19.7544);
SetPlayerCameraLookAt(playerid, 1980.1910,1578.1115,21.2133);
ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_C\",4.0,1,0,0,0,-1);
return 1;
}
public OnPlayerConnect(playerid)
{
new pName[30], string[128];
GetPlayerName(playerid, pName, 30);
format(string, 256, \"%s csatlakozot a szerverhez.\", pName);
SendClientMessageToAll(0x858482AA,string);
SendClientMessage(playerid, 0xfff700AA, \"Üdvözöllek a Szerveren\");
SendClientMessage(playerid, 0xfff700AA, \"WEBOLDAL: JELENLEG NINCS\");
SendClientMessage(playerid, 0xfff700AA, \"Parancsokért: /cmds ; /szabaly ; /teles\");
SendClientMessage(playerid, 0xfff700AA, \"A szabály elolvasása és Betartása kötelezõ (/szabaly)\");
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[30], string[128];
GetPlayerName(playerid, pName, 30);
format(string, 256, \"%s kilépett a Szerverrõl.\", pName);
SendClientMessageToAll(0x858482AA,string);
return 1;
}
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid, 14, 5300);
new rand = random(sizeof(RandomSpawn));
SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(playerid,GetPlayerMoney(playerid)-20000); //Enyit veszünk el tõle Halálkór
SetPlayerScore(playerid,GetPlayerScore(playerid)-1); //Enyit veszünk el tõle Halálkór
GivePlayerMoney(killerid,GetPlayerMoney(killerid) +20000); //Ennyit kap Öléskor
SetPlayerScore(killerid,GetPlayerScore(killerid) +1); //Ennyit kap Öléskor
//Kill List==(============(===============(================
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 CountDown()
{
if (Count > 0){
GameTextForAll( CountText[Count-1], 2500, 3);
Count--;
SetTimer(\"CountDown\", 1000, 0);
}
else{
GameTextForAll(\"~g~Go Go Go!!!\", 2500, 3);
Count = 5;
}
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_FIGHT)
{
if(response)
{
if(listitem == 0) // Normal
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
SendClientMessage(playerid, -1, \"{ffff00}Styles Beállítva erre: Normal\");
}
if(listitem == 1) // Boxing
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
SendClientMessage(playerid, -1, \"{ffff00}Harc Styles Beállítva erre: Boxing\");
}
if(listitem == 2) // KneeHead
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
SendClientMessage(playerid, -1, \"{ffff00}Harc Styles Beállítva erre: KneeHead\");
}
if(listitem == 4) // GrabKick
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
SendClientMessage(playerid, -1, \"{ffff00}Harc Styles Beállítva erre: GrabKick\");
}
if(listitem == 5) // Elbow
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
SendClientMessage(playerid, -1, \"{ffff00}Harc Styles Beállítva erre: Normal Elbow\");
}
}
return 1;
}
//CMDS Dialog
if(dialogid == DIALOG_CMDS)
{
if(response)
{
if(listitem == 0)
{
new BigString17[1000];
strcat(BigString17, \"{FF0000}Driftek:{00ff6f} /drift {ff1e00}További Diftek fejlesztésben.\\n\\n\", 1000 );
strcat(BigString17, \"{FF0000}Stuntok:{ffea00} /stunt\\n\\n\", 1000 );
strcat(BigString17, \"{FF0000}Jumpok:{b700ff} /jump /jump2\\n\\n\", 1000 );
strcat(BigString17, \"{FF0000}Általános:{00d9ff} /fb /ls /sf /lv /sfair /lvair /lsair /anyahajo /jizzy /ch =(chilliad) /katonasag /rend\\n\", 1000 );
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, \"{FFFF00}Teleportok\", BigString17, \"Rendben\",\"\");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid, DIALOG_A, DIALOG_STYLE_MSGBOX, \"{fff700}Alap Parancsok\", \" {00fff7}Teleportok: /teles\\n\\n{66ff00}Öngyilkosság:/kill\\n\\n{0011ff}Készítõk:/credits\\n\\n{ffc400}\\n\\n{e6c717}Animációk /anims\\n\\n{598eba}Vissza számlálás /count\\n\\n{8b3fa6}Rádió Halgatás:/radio\\n\\n{598eba}Harc Style: /fight\", \"Rendben\", \"\");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, DIALOG_J, DIALOG_STYLE_MSGBOX, \"{fff700}Jármûvekhez\", \"{ffc400}Jármû lekérése : /v (jármûnév)vagy (ID)\\n\\n{aaff00}Jármû felálítása: /vflip\\n\\n{00ff88}Jármû Megjavitása:/vfix autómatikus:/nobreak\\n\\nJármû Ugratása: /carjump\", \"Rendben\", \"\");
}
}
return 1;
}
//RADIÓ-dialóg===================(==================(===============)================(
if ( dialogid == 12 )
{
if( !response )
{
SendClientMessage(playerid,0xff0000AA,\"Kiléptél a RádióPanelbõl!\");
return 1;
}
if( listitem == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://www.sztarnet.hu/ClassFM/mp3_adas_1.m3u\");
SendClientMessage(playerid,0xfff700AA,\"Radió ON: ClassFM\");
}
if( listitem == 1)
{
PlayAudioStreamForPlayer(playerid,\"http://195.70.35.172:8000/radio1.mp3.m3u\");
SendClientMessage(playerid,0xfff700AA,\"Radió ON: Radio1\");
}
if( listitem == 2)
{
PlayAudioStreamForPlayer(playerid,\"http://tunein.com/radio/City-Radio-1064-s95541/\");
SendClientMessage(playerid,0xfff700AA,\"Radió ON: CityRadio\");
}
if( listitem == 3)
{
PlayAudioStreamForPlayer(playerid,\"http://radio.juventus.hu/\");
SendClientMessage(playerid,0xfff700AA,\"Radió ON: Juventus Radió\");
}
if( listitem == 4)
{
PlayAudioStreamForPlayer(playerid,\"http://stream.tilos.hu/tilos_128.mp3.m3u\");
SendClientMessage(playerid,0xfff700AA,\"Radió ON: Tilos Radió\");
}
if( listitem == 5)
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid,0xff0000AA,\"Radió OFF\");
}
}
return 1;
}
//==========================)============(==============)==========(===========(======)
CMD:count(playerid,params[])
{
if(Count >= 5)
{
SendClientMessageToAll(0x33AA33AA, \"Visszazámlálás elindúlt (/count)\");
CountDown();
return 1;
}
else
{
SendClientMessage(playerid, 0xAA3333AA, \"Visszaszámlálás már elindúlt!\");
return 1;
}
}
//Radió-Hoz tartozó dolgok==================================================================================================================
CMD:radio(playerid,params[])
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST,\"Rádiók\",\"ClassFm\\nRádió1\\nCityRádió\\nJuventusRádió\\nTilos Radió\\n{FF0000}STOP\",\"Kiválaszt\",\"Mégsem\");
return 1;
}
//Jármûvekhez================================================================================================================================
CMD:vflip(playerid,params[])
{
if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_PIROS,\"Épületben ez a parancs nem használható\");
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage( playerid, -1, \"Ezt a parancsot csak jármûben használhatod\" );
new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
GetVehicleZAngle(VehicleID, Angle);
SetVehiclePos(VehicleID, X, Y, Z);
SetVehicleZAngle(VehicleID, Angle);
SendClientMessage(playerid, 0x9900FFAA,\"Jármû felálítva\");
return 1;
}
//Egyéb Hosszabb kiírások====================================================================================================================
CMD:szabaly(playerid,params[])
{
new BigString15[1900];
strcat(BigString15, \"{FF0000}[1]. Tilos {eeff00} a CHEAT -Vagyis Ne használj olyan programokat amik által több képességed lesz, mint egy átlagos játékosnak\\n\", 1900 );
strcat(BigString15, \"{FF0000}[2]. Tilos {eeff00} a DB(DriveBy) vagyis a Jármû vezetõ ülésébõl történõ ölés. \\n\", 1900 );
strcat(BigString15, \"{FF0000}[3]. Tilos {eeff00} a FLOOD - Ne írd le többször ugyan azt, ezzel zavarod a többiek kommunikációját. \\n\", 1900 );
strcat(BigString15, \"{FF0000}[4]. Tilos {eeff00} káromkodni a szerveren, mert ez legtöbbször problémához vezet.\\n\", 1900 );
strcat(BigString15, \"{FF0000}[5]. Tilos {eeff00} a GLICCS-elés, illetve a GTA hibáival való visszaélés.\\n\", 1900 );
strcat(BigString15, \"{FF0000}[6]. Tilos {eeff00} más szervereket hírdetni. Tilos épületben verekedni!\\n\", 1900 );
strcat(BigString15, \"{FF0000}[7]. Tilos {eeff00} adminnak kiadnod magad. Valamint minden rcon-os és admin neves illetéktelen próbálkozást rossz néven veszünk, és ban jár érte.\\n\\n\\n\", 1900 );
// strcat(BigString15, \"{FF0000}[8]. Tilos {eeff00} a helikopteres \'darálás\' az elkövetõk automatikusan 3 perc börtönt kapnak \\n\\n\\n\", 1900 );
strcat(BigString15, \"{00f2ff}A szabályok ellen vétök, büntetésre számíthatnak. A büntetés mértéke függ a szabálytalanság sulyától, és gyakoriságától. Ez lehet: \\n\", 1900 );
strcat(BigString15, \"{00f2ff}elhallgattatás, börtön, kidobás(kick), kitiltás(ban)\\n\\n\\n\", 1900 );
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, \"{FFFF00}Szabályzat\", BigString15, \"Oké\",\"Mégsem\");
return 1;
}
//JÁRMÛ LEKÉRÕ=================================================================
CMD:v(playerid, params[])
{
if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_PIROS,\"Épületben nem használhatod ezt a parancsot.\");
new Index;
new tmp[256]; tmp = strtok(params,Index);
new tmp2[256]; tmp2 = strtok(params,Index);
new tmp3[256]; tmp3 = strtok(params,Index);
if(!strlen(tmp)) return
SendClientMessage(playerid,COLOR_SÁRGA, \"Használat: /v [modelid/jármûnév] [szín1] [szín2]\");
new car;
new string[128];
new colour1, colour2;
if(!IsNumeric(tmp))
car = GetVehicleModelIDFromName(tmp);
else car = strval(tmp);
if(car < 400 || car > 611) return SendClientMessage(playerid,COLOR_PIROS, \"Hiba: Nincs ilyen jármû!\");
if(!strlen(tmp2)) colour1 = random(126); else colour1 = strval(tmp2);
if(!strlen(tmp3)) colour2 = random(126); else colour2 = strval(tmp3);
if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
new Float:X,Float:Y,Float:Z;
new Float:Angle,int1;
new LVehicleID = GetPlayerVehicleID(playerid);
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
int1 = GetPlayerInterior(playerid);
SpawnedVehicles[playerid] = CreateVehicle(car, X+3,Y,Z, Angle, colour1, colour2, -1);
LinkVehicleToInterior(LVehicleID,int1);
PlayerPlaySound(playerid,1085,0,0,0);
PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
format(string, sizeof(string), \"Jármû lerakva! Név: %s | (Model ID: %d) | Szín1: %d, Szín2: %d\", VehicleNames[car-400], car, colour1, colour2);
return SendClientMessage(playerid,0xAFAFAFAA,string);
}
CMD:respawncars(playerid,params[]){
#pragma unused params
if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_PIROS,\"Épületben nem lérhetsz le jármûvet\");
if(!IsPlayerAdmin(playerid)) return 0; //ha nem rcon admin akkor Ismeretlen parancs legyen
SendClientMessageToAll(0xFF9933AA,\"Összes jármû respawnolva\");
for(new cars=0; cars<MAX_VEHICLES; cars++)
{
if(!VehicleOccupied(cars))
{
SetVehicleToRespawn(cars);
}
}
return 1;
}
GetVehicleModelIDFromName(vname[])
{
for(new i = 0; i < 211; i++)
{
if ( strfind(VehicleNames, vname, true) != -1 )
return i + 400;
}
return -1;
}
stock IsNumeric(string[])
{
for (new i = 0, j = strlen(string);
i < j; i++)
{
if (string > \'9\' || string < \'0\')
return 0;
}
return 1;
}
public VehicleOccupied(vehicleid)
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInVehicle(i,vehicleid)) return 1;
}
return 0;
}
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= \' \'))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
//==============)==========(==================)==========(==========)=========(========
CMD:givecash(playerid, params[])
{
new giveplayerid, moneys;
if (sscanf(params, \"ui\", giveplayerid, moneys))
{
SendClientMessage(playerid,COLOR_SÁRGA, \"Használat: /givecash [playerid] [pénzösszeg]\");
}
else if (giveplayerid == INVALID_PLAYER_ID)
{
SendClientMessage(playerid, 0xad1010AA, \"Hiba: Nincs ilyen játékos!\");
}
else
{
new playermoney = GetPlayerMoney(playerid);
new playername[MAX_PLAYER_NAME];
new string[128];
if (moneys > 0 && playermoney >= moneys)
{
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
GetPlayerName(giveplayerid, playername, sizeof (playername));
format(string, sizeof(string), \"Utaltál %s nevû játékosnak %d $ .\", playername, moneys);
SendClientMessage(playerid, 0x06b28cAA, string);
GetPlayerName(playerid, playername, sizeof (playername));
format(string, sizeof(string), \"%s Küldött %d $ .\", playername, moneys);
SendClientMessage(giveplayerid, 0x06b28cAA, string);
}
else
{
SendClientMessage(playerid,COLOR_PIROS, \"HIBA: Nincs ennyi pénzed.\");
}
}
return 1;
}
//=====================)==========(===================)==========(==========)========(
CMD:lock(playerid)
{
if (IsPlayerInAnyVehicle(playerid))
{
new State;
State=GetPlayerState(playerid);
if (State!=PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, 0xFFFF00AA, \"{FFFFFF}Elõszõr Ülj be egy jármübe!!!\");
return 1;
}
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
if (i != playerid)
{
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
}
}
SendClientMessage(playerid,COLOR_KÉK, \"Bezárva\");
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, 1056, X, Y, Z);
}
else
{
SendClientMessage(playerid,COLOR_PIROS, \"Nem tartózkodsz jármûben\");
}
return 1;
}
CMD:unlock(playerid)
{
if (IsPlayerInAnyVehicle(playerid))
{
new State;
State=GetPlayerState(playerid);
if (State!=PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid,COLOR_PIROS, \"Csak Jármû vezetû használhatja ezt a parancsot\");
return 1;
}
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
}
SendClientMessage(playerid, 0x33AA33AA,\"Kinyitva\");
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, 1057, X, Y, Z);
}
else
{
SendClientMessage(playerid, COLOR_PIROS, \"Nem tartózkodsz Jármûben\");
}
return 1;
}
//=====================)==========(===================)==========(==========)========(
//=========)========(==============)=============(=============)===========)======)
CMD:fight(playerid, params[])
{
if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_PIROS,\"Épületben ez a parancs nem használható\");
ShowPlayerDialog(playerid, DIALOG_FIGHT, DIALOG_STYLE_LIST, \"Harc Styles\", \"Normal\\nBoxing\\nKneeHead\\nKungFu\\nGrabKick\\nElbow\", \"Kiválaszt\", \"Mégse\");
return 1;
}
CMD:stop(playerid, params[])
{
ClearAnimations(playerid);
return 1;
}
CMD:anims(playerid,params[])
{
ShowPlayerDialog(playerid, 233, DIALOG_STYLE_MSGBOX, \"{ffff00}Anims\",\"{e6c717}Cigi:/Smoke1 /smoke2 /smoke3\\n\\n{e6c717}/handstand /around /wave\\n\\n{1790e6}/totter /handshup\\n\\n{6317e6}/piss /eat /drink /handshake\\n\\n{47e617}/masturbate /dance /dance2 /dance3 /dance4\\n\\n{FF0000}Animáció kikapcsolásához: /stop\", \"Rendben\",\"Mégsem\");
return 1;
}
CMD:credits(playerid,params[])
{
ShowPlayerDialog(playerid, 235, DIALOG_STYLE_MSGBOX, \"{ffff00}Késztítõ\",\"{e6c717}Mod Készítõje: ]FreePlay[\\nA modot megtalálod Itt : www.sampforum.hu\", \"Rendben\",\"\");
return 1;
}
CMD:cmds(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_CMDS, DIALOG_STYLE_LIST, \"{ffff00}Parancsok\", \"{ffff00}Teleportok\\n{ffff00}Alap Parancsok\\n{ffff00}Jármûvekhez\\n\", \"Kiválaszt\", \"Mégsem\");
return 1;
}
//===============)================(==========)================(===============)==========(=
CMD:fb(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2152.3137,943.1877,10.6719);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Fegyver Bolt\");
} else {
SetPlayerPos(playerid,2152.3137,943.1877,10.6719);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Fegyver Bolt\");
}
return 1;
}
CMD:jizzy(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2598.4688,1385.9268,7.1674);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Jizzy Club\");
} else {
SetPlayerPos(playerid,-2598.4688,1385.9268,7.1674);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Jizzy Club\");
}
return 1;
}
CMD:ls(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2779.6001,-2010.7078,13.5547);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LS\");
} else {
SetPlayerPos(playerid,2779.6001,-2010.7078,13.5547);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LS\");
}
return 1;
}
CMD:lv(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2320.2126,1390.6610,42.8853);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LV\");
} else {
SetPlayerPos(playerid,2320.2126,1390.6610,42.8853);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LV\");
}
return 1;
}
CMD:sf(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1916.0457,293.3197,41.0469);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: SF\");
} else {
SetPlayerPos(playerid,-1916.0457,293.3197,41.0469);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: SF\");
}
return 1;
}
CMD:lsair(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1556.7784,-2427.9385,13.5547);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LS-AIR\");
} else {
SetPlayerPos(playerid,1556.7784,-2427.9385,13.5547);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LS-AIR\");
}
return 1;
}
CMD:lvair(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1425.0934,1764.7881,10.8130);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LV-AIR\");
} else {
SetPlayerPos(playerid,1425.0934,1764.7881,10.8130);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: LV-AIR\");
}
return 1;
}
CMD:sfair(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1561.9266,-244.9714,14.1440);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: SF-AIR\");
} else {
SetPlayerPos(playerid,-1561.9266,-244.9714,14.1440);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: SF-AIR\");
}
return 1;
}
CMD:ch(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2321.9036,-1654.8688,483.7031);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Chilliad\");
} else {
SetPlayerPos(playerid,-2321.9036,-1654.8688,483.7031);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: Chilliad\");
}
return 1;
}
CMD:stunt(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),367.3766,2469.8511,16.4844);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: STUNT\");
} else {
SetPlayerPos(playerid,367.3766,2469.8511,16.4844);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: STUNT\");
}
return 1;
}
CMD:tune(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2689.5376,217.4677,4.1797);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: TUNING GARÁZS\");
} else {
SetPlayerPos(playerid,-2689.5376,217.4677,4.1797);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: TUNING GARÁZS\");
}
return 1;
}
CMD:tune2(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1024.7312,-1047.7100,31.6445);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: TUNING GARÁZS 2\");
} else {
SetPlayerPos(playerid,1024.7312,-1047.7100,31.6445);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: TUNING GARÁZS 2\");
}
return 1;
}
CMD:rend(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2238.1536,2453.2544,10.8203);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: RENDÕRSÉG\");
} else {
SetPlayerPos(playerid,2238.1536,2453.2544,10.8203);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: RENDÕRSÉG\");
}
return 1;
}
CMD:katonasag(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),212.4296,1903.4264,17.6406);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: KATONASÁG\");
} else {
SetPlayerPos(playerid,212.4296,1903.4264,17.6406);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: KATONASÁG\");
}
return 1;
}
CMD:anyahajo(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1303.9690,462.1216,7.1875);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: ANYAHAJÓ\");
} else {
SetPlayerPos(playerid,-1303.9690,462.1216,7.1875);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: ANYAHAJÓ\");
}
return 1;
}
//Driftek (=)(=)(=)(=)(=)(=)(=)(=)
CMD:drift(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-307.9397,1532.6361,75.3594);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: DRIFT\");
} else {
SetPlayerPos(playerid,-307.9397,1532.6361,75.3594);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: DRIFT\");
}
return 1;
}
//Jumpok (=)(=)(=)(=)(=)(=)(=)(=)
CMD:jump(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1547.8168,-1360.4919,329.4620);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: JUMP\");
} else {
SetPlayerPos(playerid,1547.8168,-1360.4919,329.4620);
GivePlayerWeapon(playerid, 46, 99999);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: JUMP\");
}
return 1;
}
CMD:jump2(playerid, params[]) //Kész
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1753.8611,885.1871,295.8750);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: JUMP2\");
} else {
SetPlayerPos(playerid,-1753.8611,885.1871,295.8750);
GivePlayerWeapon(playerid, 46, 99999);
SendClientMessage(playerid,COLOR_SÁRGA,\"Elteleportáltál: JUMP2\");
}
return 1;
}
//Animációk :O
//Animáció-parancsok
CMD:smoke(playerid, params[])
{
ApplyAnimation(playerid, \"GANGS\", \"smkcig_prtl\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:smoke2(playerid, params[])
{
ApplyAnimation(playerid, \"LOWRIDER\", \"M_smklean_loop\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:smoke3(playerid, params[])
{
ApplyAnimation(playerid, \"LOWRIDER\", \"M_smkstnd_loop\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:arround(playerid, params[])
{
ApplyAnimation(playerid, \"ON_LOOKERS\", \"wave_loop\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:handshup(playerid, params[])
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}
CMD:totter(playerid, params[])
{
ApplyAnimation(playerid, \"ped\", \"WALK_drunk\", 4.1, 1, 1, 1, 0, 0, 1);
return 1;
}
CMD:piss(playerid, params[])
{
SetPlayerSpecialAction(playerid,68);
return 1;
}
CMD:eat(playerid, params[])
{
ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 4.1, 0, 0, 0, 0, 0, 1);
return 1;
}
CMD:drink(playerid, params[])
{
ApplyAnimation(playerid, \"GANGS\", \"drnkbr_prtl\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:handshake(playerid, params[])
{
ApplyAnimation(playerid, \"GANGS\", \"prtial_hndsk_biz_01\", 4.1, 0, 0, 0, 0, 0, 1);
return 1;
}
CMD:masturbate(playerid, params[])
{
ApplyAnimation(playerid, \"PAULNMAC\", \"wank_loop\", 4.1, 1, 0, 0, 0, 0, 1);
return 1;
}
CMD:dance(playerid, params[])
{
SetPlayerSpecialAction(playerid,5);
return 1;
}
CMD:dance2(playerid, params[])
{
SetPlayerSpecialAction(playerid,6);
return 1;
}
CMD:dance3(playerid, params[])
{
SetPlayerSpecialAction(playerid,7);
return 1;
}
CMD:dance4(playerid, params[])
{
SetPlayerSpecialAction(playerid,8);
return 1;
}
//ID-név melett
public OnPlayerText(playerid, text[])
{
new estr[128];
format( estr ,128 ,\"[%i]:%s\" , playerid , text );
SendPlayerMessageToAll( playerid , estr );
return 0;
}