Szerző Téma: DM GameMode  (Megtekintve 3224 alkalommal)

Nem elérhető Vajzs

DM GameMode
« Dátum: 2013. július 21. - 22:09:44 »
+1 Show voters
Helló!
Csináltam egy GameMode-ot! :)
FIGYELEM: NEM MINDEN AZ ENYÉM BELÕLE!
Pl.: A Kocsi Spawner. + a DM Zónák leírás alapján készült :)
Parancsok: 60
Pár Fontos Parancs:
/rules
/tele
/shop
/weapons
/cmds
/help
Teleportok: 13
DM Zónák: 2
Sorok: 800

Na nem pofázom tovább.. :D
 
// FIGYELEM! A GAMEMODE NEM TELJESEN AZ ENYÉM!
// AZ AUTÓ SPAWNERT NEM ÉN CSINÁLTAM!
// + A DM ZÓNÁKAT TUTORIAL ALAPJÁN KÉSZÍTETTEM :)
 
#include a_samp
#include zcmd
#define DIALOG_V2 820
#pragma tabsize 0
static dmid[MAX_PLAYERS]={ -1, ... };
new VehicleNames[][] = {
        \"Landstalker\",\"Bravura\",\"Buffalo\",\"Linerunner\",\"Perrenial\",\"Sentinel\",\"Dumper\",\"Firetruck\",\"Trashmaster\",\"Stretch\",\"Manana\",\"Infernus\",\"Voodoo\",\"Pony\",\"Mule\",\"Cheetah\",\"Ambulance\",\"Leviathan\",\"Moonbeam\",
        \"Esperanto\",\"Taxi\",\"Washington\",\"Bobcat\",\"Whoopee\",\"BF Injection\",\"Hunter\",\"Premier\",\"Enforcer\",\"Securicar\",\"Banshee\",\"Predator\",\"Bus\",\"Rhino\",\"Barracks\",\"Hotknife\",\"Trailer\",\"Previon\",\"Coach\",
        \"Cabbie\",\"Stallion\",\"Rumpo\",\"RC Bandit\",\"Romero\",\"Packer\",\"Monster\",\"Admiral\",\"Squalo\",\"Seasparrow\",\"Pizzaboy\",\"Tram\",\"Trailer\",\"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\",
        \"Boxvillde\",\"Benson\",\"Mesa\",\"RC Goblin\",\"Hotring Racer A\",\"Hotring Racer B\",\"Bloodring Banger\",\"Rancher\",\"Super GT\",\"Elegant\",\"Journey\",\"Bike\",\"Mountain Bike\",\"Beagle\",\"Cropduster\",\"Stunt\",\"Tanker\",\"Roadtrain\",
        \"Nebula\",\"Majestic\",\"Buccaneer\",\"Shamal\",\"Hydra\",\"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\",\"Hustler\",\"Intruder\",\"Primo\",\"Cargobob\",\"Tampa\",\"Sunrise\",\"Merit\",\"Utility\",\"Nevada\",\"Yosemite\",\"Windsor\",\"Monster\",\"Monster\",
        \"Uranus\",\"Jester\",\"Sultan\",\"Stratum\",\"Elegy\",\"Raindance\",\"RC Tiger\",\"Flash\",\"Tahoma\",\"Savanna\",\"Bandito\",\"Freight Flat\",\"Streak Carriage\",\"Kart\",\"Mower\",\"Dune\",\"Sweeper\",\"Broadway\",\"Tornado\",\"AT-400\",\"DFT-30\",
        \"Huntley\",\"Stafford\",\"BF-400\",\"News Van\",\"Tug\",\"Trailer\",\"Emperor\",\"Wayfarer\",\"Euros\",\"Hotdog\",\"Club\",\"Freight Box\",\"Trailer\",\"Andromada\",\"Dodo\",\"RC Cam\",\"Launch\",\"Police Car\",\"Police Car\",\"Police Car\",
        \"Police Ranger\",\"Picador\",\"S.W.A.T\",\"Alpha\",\"Phoenix\",\"Glendale\",\"Sadler\",\"Luggage\",\"Luggage\",\"Stairs\",\"Boxville\",\"Tiller\",\"Utility Trailer\"
};
main()
{
print(\"\\n----------------------------------\");
print(\" Blank Gamemode by your name here\");
print(\"----------------------------------\\n\");
}
public OnGameModeInit()
{
UsePlayerPedAnims();
SetWorldTime(0);
AddStaticVehicle(562,-265.0970,1543.0262,75.0190,134.6034,57,26); // car
AddStaticVehicle(562,-267.7867,1545.3424,75.0188,133.8656,11,94); // car
AddStaticVehicle(562,-270.3813,1547.6554,75.0186,135.4666,62,4); // car
AddStaticVehicle(562,-272.5993,1550.6116,75.0188,134.9769,56,7); // car
AddStaticVehicle(562,-275.2839,1552.8479,75.0174,134.5454,102,82); // car
AddStaticVehicle(526,-277.8885,1555.1721,75.1260,135.2211,98,118); // car
AddStaticVehicle(522,-297.6153,1539.8566,75.1361,178.1795,38,75); // car
AddStaticVehicle(593,-1363.1563,-492.8884,14.6339,209.5228,57,88); // car
AddStaticVehicle(562,-2391.1721,-601.8468,132.3073,123.6887,2,104); // car
AddStaticVehicle(562,-2392.5923,-599.1510,132.3073,124.5950,56,28); // car
AddStaticVehicle(562,-2394.6309,-596.9869,132.3072,126.6986,122,8); // car
AddStaticVehicle(562,-2396.3694,-594.5794,132.3071,124.0636,43,6); //
AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(244, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(240, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(233, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(217, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(120, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(118, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(93, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(86, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(266, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
SetGameModeText(\"DM GameMode\");
AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerFacingAngle(playerid, 136.2879);
SetPlayerPos(playerid, -1634.4585,1413.2759,7.1875);
SetPlayerCameraPos(playerid, -1638.3774,1409.1633,7.1875);
SetPlayerCameraLookAt(playerid, -1631.2609,1416.3281,7.1875);
return 1;
}
public OnPlayerConnect(playerid)
{
    dmid[playerid] = -1;
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 200);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Csatlakozott a {3cff00}szerverhez!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Üdv!\");
    SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Parancsok: {3cff00}/cmds /rules /help\");
    SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Jó szórakozást kíván az Admin Csapat!\");
    return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Lelépett a {3cff00}szerverrõl!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
public OnPlayerSpawn(playerid)
{
   switch(dmid[playerid])
   {
       case 0:
       {
         SetPlayerPos(playerid,-494.7707,-99.8357,62.3184);
         SetPlayerFacingAngle(playerid,90.0);
         ResetPlayerWeapons(playerid);
         GivePlayerWeapon(playerid,26,30000);
         SetPlayerHealth(playerid, 100);
         SetPlayerVirtualWorld(playerid,dmid[playerid]);
      }
        case 1:
       {
         SetPlayerPos(playerid,-2316.5911,-1631.7333,483.7003);
         SetPlayerFacingAngle(playerid,180.0);
         ResetPlayerWeapons(playerid);
         GivePlayerWeapon(playerid,31,10000);
         SetPlayerHealth(playerid, 100);
         SetPlayerVirtualWorld(playerid,dmid[playerid]);
      }
      default:
      {
          GivePlayerWeapon(playerid, 25, 1000);
      GivePlayerMoney(playerid, 10000);
      SetPlayerPos(playerid, -1634.4585,1413.2759,7.1875);
          SendClientMessage(playerid, 0x33AA33AA, \"{007bff}SPAWN: {ff8400}Sikeres Spawn\");
          SetPlayerVirtualWorld(playerid,0);
      }
   }
   return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(killerid, 1000);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}meghalt!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:cmds(playerid,params[])
{
SendClientMessage(playerid, 0x33AA33AA, \"{007bff}.:.:.:.:.:.:.:Parancsok:.:.:.:.:.:.:.\");
SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Autók > /v | Teleport > /tele | Várárlás > /shop\");
SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Fegyverek > /weapons | Fegyócsomag > /wpack\");
SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Öngyilkosság > /kill | Anim > /anims | Kilépés /q\");
return 1;
}
CMD:rules(playerid,params[])
{
SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}.:.:.:.:.:.:.:SZABÁLYOK:.:.:.:.:.:.:.\");
SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}Tilos > Hackelni | Flood/spam! \");
SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}Tiszteld > Adminokat | Játékosokat!\");
SendClientMessage(playerid, 0x33AA33AA, \"{ff8400}LEGFONTOSABB > Érezd jól magad :)\");
return 1;
}
CMD:help(playerid,params[])
{
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}.:.:.:.:.:.:.:SEGÍTSÉG:.:.:.:.:.:.:.\");
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Üdv a szerveren! Ez egy DM/Drift Szerver!\");
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Ha valamit nem tudsz szólj az adminoknak!\");
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Szabályokat betartani kötelezõ, vagy súlyos\");
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}következményei lehetnek... :)\");
SendClientMessage(playerid, 0x33AA33AA, \"{3cff00}Szabályok /rules | Parancsok /cmds\");
return 1;
}
CMD:tele(playerid, params[])
{
    SendClientMessage(playerid, 0xeaff00AA, \".:.:.:.:.:.:.:Teleportok:.:.:.:.:.:.:.\");
    SendClientMessage(playerid, 0xeaff00AA, \"Driftek > /drift1 | /drift2\");
    SendClientMessage(playerid, 0xeaff00AA, \"Városok/stb. > /ls | /sf | /lv | /lva | /lsa\");
    SendClientMessage(playerid, 0xeaff00AA, \"Városok/stb. > /sfa | /chilliad | /aa | /beach\");
    SendClientMessage(playerid, 0xeaff00AA, \"DMek: /m4dm | /sawnoffdm\");
return 1;
}
CMD:drift1(playerid, params[])
{
SetPlayerPos(playerid,-303.2766,1517.8917,75.3594);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Drift1-hez! {eaff00}(/drift1)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:drift2(playerid, params[])
{
SetPlayerPos(playerid,-2383.4077,-580.9707,132.1172);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Drift 2-hoz! {eaff00}(/drift2)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:ls(playerid, params[])
{
SetPlayerPos(playerid,2492.4216,-1668.2061,13.3438);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Los Santosba! {eaff00}(/ls)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:lv(playerid, params[])
{
SetPlayerPos(playerid,1961.9720,1342.9240,15.3746);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Las Venturasba! {eaff00}(/lv)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:sf(playerid, params[])
{
SetPlayerPos(playerid,-1691.2794,1352.8740,9.8047);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}San Fierroba! {eaff00}(/sf)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:sfa(playerid, params[])
{
SetPlayerPos(playerid,-1374.3774,-498.0653,14.1719);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}SF Airra! {eaff00}(/sfa)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:lsa(playerid, params[])
{
SetPlayerPos(playerid,1894.2810,-2306.8687,13.6124);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}LS Airra! {eaff00}(/lsa)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:lva(playerid, params[])
{
SetPlayerPos(playerid,1332.5125,1280.2792,10.8203);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}LV Airra! {eaff00}(/lva)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:aa(playerid, params[])
{
SetPlayerPos(playerid,442.2502,2495.2861,17.9038);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Elhagyatott Reptérre! {eaff00}(/aa)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:beach(playerid, params[])
{
SetPlayerPos(playerid,510.3821,-1885.9598,2.9285);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}Tenger Partra! {eaff00}(/beach)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:chilliad(playerid, params[])
{
SetPlayerPos(playerid,-2316.5911,-1631.7333,483.7003);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{007bff}%s {ff8400}Teleportált {3cff00}a hegyekbe! {eaff00}(/chilliad)\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
return 1;
}
CMD:weapons(playerid, params[])
{
    SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:.:.:.:.:Fegyverek:.:.:.:.:.:.:.:.:.\");
    SendClientMessage(playerid, 0x9900ffAA, \"Ingyenes fegyverek > /9mm | /eagle | /baseball \");
    SendClientMessage(playerid, 0x9900ffAA, \"Olcsó > /sawnoff | /m4 | /ak47 | /tec9 | /mp5\");
    SendClientMessage(playerid, 0x9900ffAA, \"DRÁGA > /minigun | /rpg | /grenade | /flamethrower\");
return 1;
}
CMD:9mm(playerid, params[])
{
GivePlayerWeapon(playerid, 22, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes 9mm a tiéd! :)\");
return 1;
}
CMD:eagle(playerid, params[])
{
GivePlayerWeapon(playerid, 24, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes DesertEagle a tiéd! :)\");
return 1;
}
CMD:baseball(playerid, params[])
{
GivePlayerWeapon(playerid, 5, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"Ingyenes {ff0000}BÉZBÓZÜTÕ {00a3ff}a tiéd! :)\");
return 1;
}
CMD:sawnoff(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 300) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 300$-od !\"); }
GivePlayerMoney(playerid, -300);
GivePlayerWeapon(playerid, 26, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"Sawn-Off Shotgun a tied! Ára: 300$\");
return 1;
}
CMD:m4(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 350) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 350$-od !\"); }
GivePlayerMoney(playerid, -350);
GivePlayerWeapon(playerid, 31, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"M4-es Gépkarabély a tied! Ára: 350$\");
return 1;
}
CMD:ak47(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 350) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 350$-od !\"); }
GivePlayerMoney(playerid, -350);
GivePlayerWeapon(playerid, 30, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"AK47-es Gépkarabély a tied! Ára: 350$\");
return 1;
}
CMD:tec9(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 150) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 150$-od !\"); }
GivePlayerMoney(playerid, -150);
GivePlayerWeapon(playerid, 32, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"Tec9 a tied! Ára: 150$\");
return 1;
}
CMD:mp5(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 250) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 250$-od !\"); }
GivePlayerMoney(playerid, -250);
GivePlayerWeapon(playerid, 29, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"MP5 a tied! Ára: 250$\");
return 1;
}
CMD:minigun(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 120000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 120000$-od !\"); }
GivePlayerMoney(playerid, -120000);
GivePlayerWeapon(playerid, 38, 500);
SendClientMessage(playerid, 0x00a2ffAA, \"Minigun a tied! Ára: 120000$\");
return 1;
}
CMD:rpg(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 100000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 100000$-od !\"); }
GivePlayerMoney(playerid, -100000);
GivePlayerWeapon(playerid, 35, 10);
SendClientMessage(playerid, 0x00a2ffAA, \"RPG a tied! Ára: 100000$\");
return 1;
}
CMD:grenade(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); }
GivePlayerMoney(playerid, -1000);
GivePlayerWeapon(playerid, 16, 10);
SendClientMessage(playerid, 0x00a2ffAA, \"Gránát a tied! Ára: 1000$\");
return 1;
}
CMD:flamethrower(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 10000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 10000$-od !\"); }
GivePlayerMoney(playerid, -10000);
GivePlayerWeapon(playerid, 37, 1000);
SendClientMessage(playerid, 0x00a2ffAA, \"RPG a tied! Ára: 10000$\");
return 1;
}
CMD:wpack(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 1000) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 1000$-od !\"); }
GivePlayerMoney(playerid, -1000);
GivePlayerWeapon(playerid, 18, 1000);
GivePlayerWeapon(playerid, 34, 1000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 50);
SendClientMessage(playerid, 0x00a2ffAA, \"Fegyvercsomag megvéve!\");
return 1;
}
CMD:shop(playerid, params[])
{
    SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:.:.:.:.:Bolt:.:.:.:.:.:.:.:.:.\");
    SendClientMessage(playerid, 0x9900ffAA, \"Kaják > /hamburger | /hotdog | /gyros | /chips\");
    SendClientMessage(playerid, 0x9900ffAA, \"Italok > /cola | /fanta | /sprite | /icetea\");
return 1;
}
CMD:chips(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 10) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 10$-od !\"); }
    GivePlayerMoney(playerid,-10);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 10;
    SetPlayerHealth(playerid,hp);
    SendClientMessage(playerid,0xFF6600FF,\"Ettél egy chipset.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}chipset!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:hamburger(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 15;
    SetPlayerHealth(playerid,hp);
    SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hamburgert.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hamburgert!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:hotdog(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 15;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ettél egy hotdogot.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}hotdogot!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:gyros(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 15;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ettél egy gyros-t.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}evett egy {ABCDEF}gyrost!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:cola(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 2;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Colát.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}colát!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:sprite(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 2;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Spritét.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Spritét!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:fanta(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 2;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Fantát.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Fantát!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:icetea(playerid, params[])
{
    if(GetPlayerMoney(playerid) < 50) { return SendClientMessage(playerid,0xFF6600FF,\"Nincs 50$-od !\"); }
    GivePlayerMoney(playerid,-50);
    new Float:hp;
    GetPlayerHealth(playerid,hp);
    hp += 2;
    SetPlayerHealth(playerid,hp);
    ApplyAnimation(playerid, \"FOOD\", \"EAT_Burger\", 3.0, 0, 0, 0, 0, 0);
    SendClientMessage(playerid,0xFF6600FF,\"Ittál egy Ice Tea.\");
    PlayerPlaySound(playerid,1085,0,0,0);
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}ivott egy {ABCDEF}Ice Tea-t!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    return 1;
}
CMD:flip(playerid, params[])
{
        if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage( playerid, 0x33AA33AA, \"Nem jármûben ülsz!\" );
        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,\"Autó Felfordítva\");
        return 1;
}
CMD:kill(playerid, params[])
{
    SetPlayerHealth(playerid, 0);
return 1;
}
CMD:afk(playerid, params[])
{
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}AFK Módban {ABCDEF}van!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    TogglePlayerControllable(playerid, 0);
    SetPlayerHealth(playerid, 9999);
    SendClientMessage(playerid, 0x9900FFAA, \"AFK Módban vagy! Kikapcsolás {FF9933}( /afkoff ) \");
return 1;
}
CMD:afkoff(playerid, params[])
{
    new pName[30], string[128];
    GetPlayerName(playerid, pName, 30);
    format(string, 256, \"{FF9933}%s {FF0606}már nincs {ABCDEF}AFK Módban!\", pName);
    SendClientMessageToAll(0xFF9933AA,string);
    TogglePlayerControllable(playerid, 1);
    SetPlayerHealth(playerid, 100);
    SendClientMessage(playerid, 0x9900FFAA, \"Kikapcsoltad az AFK módot!\");
return 1;
}
CMD:colors(playerid, params[])
{
    SendClientMessage(playerid, 0x33AA33AA, \".:.:.:.:VÁLTHATÓ NÉVSZÍNEK:.:.:.:.\");
    SendClientMessage(playerid, 0x33AA33AA, \"Fekete > {000000}/black\");
    SendClientMessage(playerid, 0x33AA33AA, \"Fehér > {FFFFFF}/white\");
    SendClientMessage(playerid, 0x33AA33AA, \"Kék > {00FFFF}/blue\");
    SendClientMessage(playerid, 0x33AA33AA, \"Piros > {FF0606}/red\");
    SendClientMessage(playerid, 0x33AA33AA, \"Zöld > {33AA33}/green\");
    SendClientMessage(playerid, 0x33AA33AA, \"Rózsaszín > {ff00b7}/pink\");
    SendClientMessage(playerid, 0x33AA33AA, \"Lila > {9900ff}/purple\");
return 1;
}
CMD:black(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {000000}fekete!\");
    SetPlayerColor(playerid,0x000000AA);
    return 1;
}
CMD:white(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: fehér!\");
    SetPlayerColor(playerid,0xFFFFFFAA);
    return 1;
}
CMD:blue(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {00FFFF}kék!\");
    SetPlayerColor(playerid,0x00FFFFAA);
    return 1;
}
CMD:red(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {FF0606}piros!\");
    SetPlayerColor(playerid,0xFF0606FF);
    return 1;
}
CMD:green(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {33AA33}zöld!\");
    SetPlayerColor(playerid,0x33AA33AA);
    return 1;
}
CMD:pink(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {ff00b7}rózsaszín!\");
    SetPlayerColor(playerid,0xff00b7AA);
    return 1;
}
CMD:purple(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, \"Színed: {9900ff}lila!\");
    SetPlayerColor(playerid,0x9900ffAA);
    return 1;
}
CMD:v(playerid) return ShowPlayerDialog(playerid, DIALOG_V2, DIALOG_STYLE_LIST, \"Jármû; Csoportok\", \"Repcsik\\nHelikopter\\nBicikli\\nConvertibles\\nIndustrial\\nLowriders\\nOff Road\\nPublic Service Jármûvek\\nSaloons\\nSport Jármûvek\\nStation Wagons\\nHajók\\nUtánfutó\\nUnique Jármûvek\\nRC\", \"Tovább\", \"Mégse\");
stock GetVehicleModelIDFromName(vname[]) {
        for(new i = 0; i < 211; i++) if(strfind(VehicleNames, vname, false) != -1) return i + 400;
        return -1;
}
CMD:anims(playerid, params[])
{
    SendClientMessage(playerid, 0x9900ffAA, \":.:.:.:.:.:Animáció:.:.:.:.:.:\");
    SendClientMessage(playerid, 0x9900ffAA, \"/eat | /kiss | /fu \");
    SendClientMessage(playerid, 0x9900ffAA, \"/walk | /handsup \");
    SendClientMessage(playerid, 0x9900ffAA, \".:.:.:.:.:Hamarosan!:.:.:.:.:.\");
return 1;
}
CMD:eat(playerid, params[])
{
    ApplyAnimation(playerid,\"PED\",\"EAT_Burger\",4.1,1,1,1,1,1,1);
return 1;
}
CMD:kiss(playerid, params[])
{
    ApplyAnimation(playerid,\"PED\",\"Grlfrd_Kiss_01\",4.1,1,1,1,1,1,1);
return 1;
}
CMD:fu(playerid, params[])
{
    ApplyAnimation(playerid,\"PED\",\"fucku\",4.1,1,1,1,1,1,1);
return 1;
}
CMD:handsup(playerid, params[])
{
    ApplyAnimation(playerid,\"PED\",\"handsup\",4.1,1,1,1,1,1,1);
return 1;
}
CMD:walk(playerid, params[])
{
    ApplyAnimation(playerid,\"PED\",\"WALK_fat\",4.1,1,1,1,1,1,1);
return 1;
}
CMD:exitdm(playerid, params[])
   {
      if(dmid[playerid] == -1) return SendClientMessage(playerid,0xFF0606AA, \"Nem vagy DM Zónában!\");
      dmid[playerid] = -1;
      SpawnPlayer(playerid);
      return SendClientMessage(playerid,0x33AA33AA,\"Kiléptél egy DM Zónából!\");
}
CMD:sawnoffdm(playerid, params[])
{
      new pName[30], string[128];
      GetPlayerName(playerid, pName, 30);
      format(string, 256, \"{FF9933}%s {FF0606}Csatlakozott a {33AA33}SAWNOFF DM-hez!\", pName);
      SendClientMessageToAll(0xFF9933AA,string);
      dmid[playerid] = 0; 
      SpawnPlayer(playerid);
      SendClientMessage(playerid,0x33AA33AA,\"Csatlakoztál a SawnOff DM-hez!\");
      return 1;
}
CMD:m4dm(playerid, params[])
{
      new pName[30], string[128];
      GetPlayerName(playerid, pName, 30);
      format(string, 256, \"{FF9933}%s {FF0606}Csatlakozott a {33AA33}M4 DM-hez!\", pName);
      SendClientMessageToAll(0xFF9933AA,string);
      dmid[playerid] = 1;
      SpawnPlayer(playerid);
      SendClientMessage(playerid,0x33AA33AA,\"Csatlakoztál az M4DM-hez!\");
      return 1;
}
public OnPlayerCommandPerformed ( playerid, cmdtext [ ], success)
{
   if ( !success )
   {
   return SendClientMessage(playerid, 0xff0000AA, \"Ilyen parancs nem létezik! {33AA33}(/cmds)\");
   }
   return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SendClientMessage(playerid, 0x33AA33AA, \"{007bff}Jármû javítás: {ff8400}2-es Gomb! {007bff}Felállítás: {ff8400}/flip\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
        switch(dialogid) {
            case DIALOG_V2: {
                if(!response) return 1;
                new title[128];
                        format(title, sizeof(title), \"{ff8400}%s\", inputtext);
                switch(listitem) {
                                case 0: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Andromada\\nAT-400\\nBeagle\\nCropduster\\nDodo\\nHydra\\nNevada\\nRustler\\nShamal\\nSkimmer\\nStuntplane\", \"Lerak\", \"Vissza\");
                                case 1: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Cargobob\\nHunter\\nLeviathan\\nMaverick\\nNews Maverick\\nPolice Maverick\\nRaindance\\nSeasparrow\\nSparrow\", \"Lerak\", \"Vissza\");
                                case 2: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"BF-400\\nBike\\nBMX\\nFaggio\\nFCR-900\\nFreeway\\nMountain Bike\\nNRG-500\\nPCJ-600\\nPizzaboy\\nQuad\\nSanchez\\nWayfarer\", \"Lerak\", \"Vissza\");
                                case 3: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Comet\\nFeltzer\\nStallion\\nWindsor\", \"Lerak\", \"Vissza\");
                                case 4: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Benson\\nBobcat\\nBurrito\\nBoxville\\nBoxburg\\nCement Truck\\nDFT-30\\nFlatbed\\nLinerunner\\nMule\\nNewsvan\\nPacker\\nPetrol Tanker\\nPony\\nRoadtrain\\nRumpo\\nSadler\\nSadler Shit\\nTopfun\\nTractor\\nTrashmaster\\nUtility Van\\nWalton\\nYankee\\nYosemite\", \"Lerak\", \"Vissza\");
                                case 5: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Blade\\nBroadway\\nRemington\\nSavanna\\nSlamvan\\nTahoma\\nTornado\\nVoodoo\", \"Lerak\", \"Vissza\");
                                case 6: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Bandito\\nBF Injection\\nDune\\nHuntley\\nLandstalker\\nMesa\\nMonster\\nMonster A\\nMonster B\\nPatriot\\nRancher A\\nRancher B\\nSandking\", \"Lerak\", \"Vissza\");
                                case 7: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Ambulance\\nBarracks\\nBus\\nCabbie\\nCoach\\nCop Bike (HPV-1000)\\nEnforcer\\nFBI Rancher\\nFBI Truck\\nFiretruck\\nFiretruck LA\\nPolice Car (LSPD)\\nPolice Car (LVPD)\\nPolice Car (SFPD)\\nRanger\\nRhino\\nS.W.A.T\\nTaxi\", \"Lerak\", \"Vissza\");
                                case 8: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Admiral\\nBloodring Banger\\nBravura\\nBuccaneer\\nCadrona\\nClover\\nElegant\\nElegy\\nEmperor\\nEsperanto\\nFortune\\nGlendale Shit\\nGlendale\\nGreenwood\\nHermes\\nIntruder\\nMajestic\\nManana\\nMerit\\nNebula\\nOceanic\\nPicador\\nPremier\\nPrevion\\nPrimo\\nSentinel\\nStafford\\nSultan\\nSunrise\\nTampa\\nVincent\\nVirgo\\nWillard\\nWashington\", \"Lerak\", \"Vissza\");
                                case 9: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Alpha\\nBanshee\\nBlista Compact\\nBuffalo\\nBullet\\nCheetah\\nClub\\nEuros\\nFlash\\nHotring Racer\\nHotring Racer A\\nHotring Racer B\\nInfernus\\nJester\\nPhoenix\\nSabre\\nSuper GT\\nTurismo\\nUranus\\nZR-350\", \"Lerak\", \"Vissza\");
                                case 10: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Moonbeam\\nPerenniel\\nRegina\\nSolair\\nStratum\", \"Lerak\", \"Vissza\");
                                case 11: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Coastguard\\nDinghy\\nJetmax\\nLaunch\\nMarquis\\nPredator\\nReefer\\nSpeeder\\nSquallo\\nTropic\", \"Lerak\", \"Vissza\");
                                case 12: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Article Trailer\\nArticle Trailer 2\\nArticle Trailer 3\\nBaggage Trailer A\\nBaggage Trailer B\\nFarm Trailer\\nFreight Flat Trailer (Train)\\nFreight Box Trailer (Train)\\nPetrol Trailer\\nStreak Trailer (Train)\\nStairs Trailer\\nUtility Trailer\", \"Lerak\", \"Vissza\");
                                case 13: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"Baggage\\nBrownstreak (Train)\\nCaddy\\nCamper\\nCamper A\\nCombine Harvester\\nDozer\\nDumper\\nForklift\\nFreight (Train)\\nHotknife\\nHustler\\nHotdog\\nKart\\nMower\\nMr Whoopee\\nRomero\\nSecuricar\\nStretch\\nSweeper\\nTram\\nTowtruck\\nTug\\nVortex\", \"Lerak\", \"Vissza\");
                                case 14: ShowPlayerDialog(playerid, DIALOG_V2+(1+listitem), DIALOG_STYLE_LIST, title, \"RC Bandit\\nRC Baron\\nRC Raider\\nRC Goblin\\nRC Tiger\\nRC Cam\", \"Lerak\", \"Vissza\");
                }
            }
            case DIALOG_V2+1..DIALOG_V2+15: {
                if(!response) return cmd_v(playerid);
                        CarSpawner(playerid, GetVehicleModelIDFromName(inputtext));
                        new sor[128]; format(sor, 128, \"{3cff00}Sikeresen lekértél egy {00FF00}%s{DCDCDC}(Modell: %i){007bff}-t!\", inputtext, GetVehicleModelIDFromName(inputtext));
                        SendClientMessage(playerid, -1, sor);
            }
        }
        return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(clickedplayerid,x,y,z);
    SetPlayerPos(playerid,x,y,z);
    return 1;
}
stock CarSpawner(playerid, model) { //By: Pedró
        new Float:p[4];
        GetPlayerPos(playerid, p[0], p[1], p[2]);
        GetPlayerFacingAngle(playerid, p[3]);
        if(GetPVarInt(playerid, \"myCar\") != INVALID_VEHICLE_ID)  {
                if(IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleID(playerid) == GetPVarInt(playerid, \"myCar\")) RemovePlayerFromVehicle(playerid);
                DestroyVehicle(GetPVarInt(playerid, \"myCar\"));
        }
        SetPVarInt(playerid, \"myCar\", CreateVehicle(model, p[0], p[1], p[2], p[3], random(126), random(126), -1));
        PutPlayerInVehicle(playerid, GetPVarInt(playerid, \"myCar\"), 0);
        SetVehicleVirtualWorld(GetPVarInt(playerid, \"myCar\"), GetPlayerVirtualWorld(playerid));
        LinkVehicleToInterior(GetPVarInt(playerid, \"myCar\"), GetPlayerInterior(playerid));
        return 1;
}
public OnPlayerUpdate(playerid) {
    SetPlayerScore(playerid, GetPlayerMoney(playerid));
    return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        if(newkeys & KEY_SUBMISSION)
        {
                if(IsPlayerInAnyVehicle(playerid))
        {
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, 0x33AA33AA, \"A jármûved megjavítva!\");
        }
        }
    return 1;
}

DM GameMode
« Válasz #1 Dátum: 2013. július 21. - 23:03:55 »
0 Show voters
Hát pedig még kéne tovább \"pofázni\" mert ezek csak a parancsok minket a részletek érdekelnek.
Mik vannak benne? Mit tud?Hol játszódik? meg ezek...

Nem elérhető Nátha

  • 1036
    • Profil megtekintése
DM GameMode
« Válasz #2 Dátum: 2013. július 21. - 23:41:09 »
0 Show voters
Meg egy pár kép se ártana...

Nem elérhető Rexii

  • 471
    • Profil megtekintése
DM GameMode
« Válasz #3 Dátum: 2013. július 22. - 09:58:12 »
0 Show voters
DM Módba Drift teleportok? :D
De amúgy jó lett  :thumbsup:
U.i.: Admin rendszer? Egy módba alap dolog hogy kell lennie egy admin systemnek, vagy legalább fs-ben. De mindegy ez így nagyon alap mód.
« Utoljára szerkesztve: 2013. július 22. - 10:00:16 írta Rexii »

DM GameMode
« Válasz #4 Dátum: 2013. július 22. - 21:17:06 »
0 Show voters
Fasza lett grat megy a +  :thumbsup:

Nem elérhető Suspect

  • 64
  • ♥•M4•♥
    • Profil megtekintése
DM GameMode
« Válasz #5 Dátum: 2013. augusztus 11. - 18:13:35 »
0 Show voters
Nem is rossz :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal