Szerző Téma: Stunt/Drift/Drag/Dm Gamemode  (Megtekintve 4274 alkalommal)

Stunt/Drift/Drag/Dm Gamemode
« Dátum: 2013. január 18. - 16:27:27 »
+4 Show voters
Írtam egy kisebb modott nem nagy de használható
Parancsok:
/parachute-kapsz egy ejtõernyõt
/carjump-jármû repûl gombnyomásra
/kill-meghalsz
/rules-szabályzat
/anims - haverom csinálta
/dm
/tele
Telék:
/drag1-2
/drift1-5
Dm-ek rõl amitt tudni kell : Nincs Megadva Cordináta hogy hova rakja a Playert De ha megnézitek oda írtam ahova be kell rakni a Cordinátátt
Minden dialogal lett megoldva.
A szerver még nem Zcmd-vel írodott de fel lesz rakva az a változat is. addig is sok sikert
 
/*
====================================
Szerver MOD.                       =
Elkészítési idõ:15-20Perc          =
Készitette:N[o.O]naMe (ÉN)         =
Szabadon terjeszthetõ.             =
====================================
*/
#include <a_samp>
#include <core>
#include <float>
#pragma tabsize 0
#define SZIN_KEK 0x001effAA
#define SZIN_FEKETE 0x000000AA
#define SZIN_CIAN 0x0af3ffAA
#define SZIN_PIROS 0xff0000AA
#define SZIN_LILA 0xba00dbAA
#define SZIN_FEHER 0xffffffAA
#define SZIN_NARANCS 0xff7300AA
#define SZIN_SZURKE 0x8f8d8bAA
#define SZIN_NEONZOLD 0x3cff00AA
#define SZIN_ZOLD 0x32b30bAA
#define SZIN_ROZSASZ 0xff00ddAA
#define SZIN_CITROM 0xe6e600AA
#define COLOR_FEHER 0xFFFFFFAA
#define PocketMoney 70000
#define INACTIVE_PLAYER_ID 120
#define GIVECASH_DELAY 50000
//Dm-Cuccok=========
#include <mtamap>
#define DM_MINGUNDM 0
#define DM_PAINT  1
//===================
#define NUMVALUES 4
forward MoneyGrubScoreUpdate();
forward Givecashdelaytimer(playerid);
forward SetPlayerRandomSpawn(playerid);
forward SetupPlayerForClassSelection(playerid);
forward GameModeExitFunc();
forward SendPlayerFormattedText(playerid, const str[], define);
forward public SendAllFormattedText(playerid, const str[], define);
//------------------------------------------------------------------------------------------------------
new CashScoreOld;
new iSpawnSet[MAX_PLAYERS];
new Float:gRandomPlayerSpawns[23][3] = {
{1958.3783,1343.1572,15.3746},
{2199.6531,1393.3678,10.8203},
{2483.5977,1222.0825,10.8203},
{2637.2712,1129.2743,11.1797},
{2000.0106,1521.1111,17.0625},
{2024.8190,1917.9425,12.3386},
{2261.9048,2035.9547,10.8203},
{2262.0986,2398.6572,10.8203},
{2244.2566,2523.7280,10.8203},
{2335.3228,2786.4478,10.8203},
{2150.0186,2734.2297,11.1763},
{2158.0811,2797.5488,10.8203},
{1969.8301,2722.8564,10.8203},
{1652.0555,2709.4072,10.8265},
{1564.0052,2756.9463,10.8203},
{1271.5452,2554.0227,10.8203},
{1441.5894,2567.9099,10.8203},
{1480.6473,2213.5718,11.0234},
{1400.5906,2225.6960,11.0234},
{1598.8419,2221.5676,11.0625},
{1318.7759,1251.3580,10.8203},
{1558.0731,1007.8292,10.8125},
//{-857.0551,1536.6832,22.5870},   Out of Town Spawns
//{817.3494,856.5039,12.7891},
//{116.9315,1110.1823,13.6094},
//{-18.8529,1176.0159,19.5634},
//{-315.0575,1774.0636,43.6406},
{1705.2347,1025.6808,10.8203}
};
new Float:gCopPlayerSpawns[2][3] = {
{2297.1064,2452.0115,10.8203},
{2297.0452,2468.6743,10.8203}
};
new gActivePlayers[MAX_PLAYERS];
new gLastGaveCash[MAX_PLAYERS];
//------------------------------------------------------------------------------------------------------
main()
{
print(\"\\n----------------------------------\");
print(\" ><><=====Stunt/Drift/Fun MOD=====><><\");
print(\"----------------------------------\\n\");
}
//------------------------------------------------------------------------------------------------------
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerPickUpPickup(playerid, pickupid)
{
}
//------------------------------------------------------------------------------------------------------
public MoneyGrubScoreUpdate()
{
new CashScore;
new name[MAX_PLAYER_NAME];
//new string[256];
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
   GetPlayerName(i, name, sizeof(name));
            CashScore = GetPlayerMoney(i);
   SetPlayerScore(i, CashScore);
   if (CashScore > CashScoreOld)
   {
      CashScoreOld = CashScore;
   }
}
}
}
//------------------------------------------------------------------------------------------------------
/*public GrubModeReset()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
   SetPlayerScore(i, PocketMoney);
   SetPlayerRandomSpawn(i, classid);
}
}
}*/
//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,\"~w~SA-MP: ~r~Üdv a ~g~Szerveren\",5000,5);
SendPlayerFormattedText(playerid, \"Üdvözöllek segítségért /help.\", 0);
gActivePlayers[playerid]++;
gLastGaveCash[playerid] = GetTickCount();
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDisconnect(playerid)
{
gActivePlayers[playerid]--;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new cmd[256];
new giveplayerid, moneys, idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, \"/help\", true) == 0)
{
ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"/flip /health /parachute\\n/vflip-jármû felállitása\\n/givecash (id) (õsszeg) Pénz küldése\\n/kill-öngyilkoság\\ntele-teleportok\\n/dm-dmzónák\\n/parachute\\nanims-animációk\", \"Igen\", \"Mégse\");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    return 1;
    }
if(strcmp(cmd, \"/dm\", true) == 0)
{
ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Dm-Zónák\", \"/minigundm\\n/paintballdm\", \"Igen\", \"Mégse\");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    return 1;
    }
if(strcmp(cmd, \"/tele\", true) == 0)
{
ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Teleportok\", \"/drag\\n/drag2\\n/drift1-5\", \"Igen\", \"Mégse\");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    return 1;
    }
   
if(strcmp(cmd, \"/rules\", true) == 0)
{
ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Szabályzat:\", \"Szabaly1\\nSzabaly2\\nSzabaly3\\nSzabaly4\\nSzabaly5\\nSzabaly6\\nSzabaly7\\nSzabaly8\\nSzabaly9\\nSzabaly10\", \"Igen\", \"Mégse\");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
    return 1;
    }
//Pénz Küldése==================================================================================
if(strcmp(cmd, \"/givecash\", true) == 0) {
    new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [õsszeg]\");
   return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat /givecash [playerid] [õsszeg]\");
   return 1;
}
   moneys = strval(tmp);
 
if (IsPlayerConnected(giveplayerid)) {
   GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
   GetPlayerName(playerid, sendername, sizeof(sendername));
   playermoney = GetPlayerMoney(playerid);
   if (moneys > 0 && playermoney >= moneys) {
      GivePlayerMoney(playerid, (0 - moneys));
      GivePlayerMoney(giveplayerid, moneys);
      format(string, sizeof(string), \"Pénz elküldve %s(player: %d), $%d.\", giveplayer,giveplayerid, moneys);
      SendClientMessage(playerid, COLOR_YELLOW, string);
      format(string, sizeof(string), \"Pénzt Kaptál $%d -tol %s(player: %d).\", moneys, sendername, playerid);
      SendClientMessage(giveplayerid, COLOR_YELLOW, string);
      printf(\"%s(playerid:%d) Átkülted a pénzt %d to %s(playerid:%d)\",sendername, playerid, moneys, giveplayer, giveplayerid);
   }
   else {
      SendClientMessage(playerid, COLOR_YELLOW, \"Érvénytelen õsszeg\");
   }
}
else {
      format(string, sizeof(string), \"%d Érvénytelen id\", giveplayerid);
      SendClientMessage(playerid, COLOR_YELLOW, string);
   }
return 1;
}
 
return 0;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, PocketMoney);
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
TogglePlayerClock(playerid,1);
return 1;
}
public SetPlayerRandomSpawn(playerid)
{
if (iSpawnSet[playerid] == 1)
{
new rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]);
    }
    else if (iSpawnSet[playerid] == 0)
    {
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]);
}
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
   new string[256];
new pName[30];
GetPlayerName(playerid, pName, 30);
format(string, 280, \">>||{00FF00}%s{00FF00} {FF8000}Meghalt!{FF8000}||<<\", pName);
SendClientMessageToAll(0xFFFF00AA, string);
GivePlayerMoney(playerid, -1000);
SendDeathMessage(killerid,playerid,reason);
if(GetPlayerWantedLevel(playerid) == 1)
{
      SetPlayerHealth(playerid, 100.0);
      SetPlayerArmour(playerid, 100.0);
      GivePlayerMoney(playerid, 500);
      SetPlayerScore(killerid, GetPlayerScore(killerid)+5);
}
if(GetPlayerWantedLevel(playerid) == 2)
{
      SetPlayerHealth(playerid, 100.0);
      SetPlayerArmour(playerid, 100.0);
      GivePlayerMoney(playerid, 20000);
      SetPlayerScore(killerid, GetPlayerScore(killerid)+20);
}
if(GetPlayerWantedLevel(playerid) == 4)
{
      SetPlayerHealth(playerid, 100.0);
      SetPlayerArmour(playerid, 100.0);
      GivePlayerMoney(playerid, 40000);
      SetPlayerScore(killerid, GetPlayerScore(killerid)+40);
      format(string, 280, \">>||Player:%s Spreekillingbe lepett! Korozese:4! Jutalma:$40000 es 40 pont!||<<\", pName);
      SendClientMessageToAll(0xFFFF00AA, string);
}
if(GetPlayerWantedLevel(playerid) == 6)
{
      SetPlayerHealth(playerid, 100.0);
      SetPlayerArmour(playerid, 100.0);
      GivePlayerMoney(playerid, 60000);
      SetPlayerScore(killerid, GetPlayerScore(killerid)+60);
      format(string, 280, \">>||Player:%s Spreekillingbe lepett! Korozese:6! Jutalma:$60000 es 60 pont!||<<\", pName);
      SendClientMessageToAll(0xFFFF00AA, string);
}
if(GetPlayerWantedLevel(playerid) == 100)
{
      SetPlayerHealth(playerid, 100.0);
      SetPlayerArmour(playerid, 100.0);
      GivePlayerMoney(playerid, 100000);
      SetPlayerScore(killerid, GetPlayerScore(killerid)+100000);
      format(string, 280, \">>||Player:%s XXXStreamkillingbe lepett! Korozese:100! Jutalma:$1000000 es 100000 pont!Gratulalunk!||<<\", pName);
      SendClientMessageToAll(0xFFFF00AA, string);
}
IsInDM[playerid] = 0;
return 1;
}
//=====================================================================================================
public OnPlayerRequestClass(playerid, classid)
{
iSpawnSet[playerid] = 0;
SetupPlayerForClassSelection(playerid);
return 1;
}
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
}
public OnGameModeExit()
{
//=======================================================
new IsInDM[MAX_PLAYERS]; //DM Azonosito                 =
//=======================================================
public OnGameModeInit()
{
SetGameModeText(\"Dm/Stunt/Drift/Fun\");
ShowPlayerMarkers(1);
ShowNameTags(1);
EnableStuntBonusForAll(0);
// Skinek================================================================
AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
    AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
SetTimer(\"MoneyGrubScoreUpdate\", 1000, 1);
return 1;
}
 
public SendPlayerFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessage(playerid,0x001effAA, tmpbuf);
}
public SendAllFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessageToAll(0x001effAA, tmpbuf);
}
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;
}
//=========================Alap Parancsok=============================
if(strcmp(cmdtext, \"/vflip\", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new currentveh;
new Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, 0xe6e600AA, \"Jármû felálítva\");
return 1;
}
else
{
SendClientMessage(playerid, 0xff7300AA, \"Nem vagy jármûben\");
    return 1;
    }
    }
if (strcmp(\"/carjump\", cmdtext, true, 10) == 0)
    if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new Float:x, Float:y, Float:z;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
    SetVehicleVelocity(GetPlayerVehicleID(playerid) ,x ,y ,z+0.3);
return 1;
}
//==========================================================================================================
if (strcmp(\"/parachute\", cmdtext, true, 10) == 0)
{
    GivePlayerWeapon(playerid, 46, 1);
return 1;
}
//==========================================================================================================
if (strcmp(\"/kill\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid,0xff0000AA,\"Nem hazsnálhatod ezt a parancsot DM-zónában /exitdm\");
    return 1;
    }
        SetPlayerHealth(playerid,00.0);
        SendClientMessage(playerid, 0xFFFFFF, \"Sikeresen megõlted magadatt!\");
        return 1;
    }
//Kissebb animok===============================================================================================
if (strcmp(\"/handsup\", cmdtext, true, 10) == 0)
{
       SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/drunk\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"WALK_DRUNK\",4.0,0,1,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/fuck\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"FUCKU\",4.0,0,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/phone\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"PHONE_TALK\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/lay\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"SUNBATHE\",\"PARKSIT_M_IDLEA\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/sit\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"SEAT_IDLE\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/eat\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"FOOD\",\"EAT_PIZZA\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/laugh\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"RAPPING\",\"LAUGH_01\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/bomb\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"BOMBER\",\"BOM_PLANT_LOOP\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/sleep\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"CRACK\",\"CRCKIDLE4\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/drink\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"VENDING\",\"VEND_DRINK2_P\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/speak\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"SMOKING\",\"M_SMKSTND_LOOP\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/smoke\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/tired\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"PED\",\"IDLE_TIRED\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/kiss\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"BD_FIRE\",\"PLAYA_KISS_03\",4.0,0,1,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/ground\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"WUZI\",\"WUZI_GRND_CHK\",4.0,0,1,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/die\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"WUZI\",\"CS_DEAD_GUY\",4.0,0,1,0,1,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
       return 1;
    }
if (strcmp(\"/type\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"INT_OFFICE\",\"OFF_SIT_TYPE_LOOP\",4.0,1,0,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/wash\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"BD_FIRE\",\"WASH_UP\",4.0,0,1,0,0,-1);
   SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/wankout\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid, \"PAULNMAC\", \"wank_out\",4.0,0,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/yeah\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid, \"CLOTHES\", \"CLO_BUY\", 4.0,0,1,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DAN_LOOP_A\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance2\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_A\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance3\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_B\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance4\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_C\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance5\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_D\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/dance6\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"DANCING\",\"DNCE_M_E\",4.0,1,0,0,0,-1);
       SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Anim Elindítva {00ff3c}|-|-|\");
   return 1;
    }
if (strcmp(\"/repair\", cmdtext, true, 10) == 0)
{
       ApplyAnimation(playerid,\"CAR\", \"FIXN_CAR_LOOP\", 4.0,0,1,0,0,-1);
   return 1;
    }
if (strcmp(\"/stopanim\", cmdtext, true, 10) == 0)
{
       ClearAnimations(playerid);
    SendClientMessage(playerid, 0xFFFFFFFF, \"{00ff3c}|-|-| {ff0000}Animáció Leállítva {00ff3c}|-|-|\");
   return 1;
    }
if(strcmp(cmdtext, \"/anims\", true) == 0)
{
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, \"{40ff00}Animaciók{0900ff}\", \"Animációk:\\n {ff9900}/handsup /piss /sleep /sit /repair /tancok\\n {55ff00}/yeah /wankout /wash /type /die /ground\\n{002bff}/kiss/tired/smoke/speak/drink/sleep/bomb\\n{ffb700}/laugh/eat/sit/phone/fuck/drunk\\n{33ff00}Az Animáció leállításához: {ff0099}/stopanim\", \"Okey\", \"\");
return 1;
}
//Dm-zónák============================================================================================
if (strcmp(\"/minigundm\", cmdtext, true, 10) == 0)
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid,0x3cff00AA,\"Beléptél a dm-zónába kilépés /exitdm\");
    return 1;
    }
    IsInDM[playerid] = 1;
SetPlayerPos(playerid, Cordináta ahova a PLayert rakja);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 38, 5000);
SetPlayerVirtualWorld(playerid, -3);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
TogglePlayerControllable(playerid,0);
    GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
    SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
return 1;
}
//================================================================================================================
if (strcmp(\"/paintball\", cmdtext, true, 10) == 0)
 
{   if(IsInDM[playerid] ==1)
   {
   SendClientMessage(playerid,0x3cff00AA,\"Beléptél a dm-zónába kilépés /exitdm\");
   return 1;
   }
   IsInDM[playerid] = 1;
   new Z;
   new Y;
   new X;
   new i;
   SetPlayerPos(playerid, Cordináta ahova a PLayert rakja);
   PlayerPlaySound(i,1057,X,Y,Z);
   GameTextForPlayer(playerid, \"~g~ PaintBall DM!\", 5000, 5);
   new pName[30];
   new string[256];
   GetPlayerName(playerid, pName, 30);
   format(string, 280, \">>||{FF0000}%s{FF0000} {00FF00}Belépett ebbe a DM zonába{00FF00}:/paintball!||<<\", pName);
   SendClientMessageToAll(0xFFFF00AA, string);
   ResetPlayerWeapons(playerid);
   GivePlayerWeapon(playerid, 23, 5000);
   SetPlayerVirtualWorld(playerid, -6);
   SetPlayerHealth(playerid,100);
   SetPlayerArmour(playerid,100);
   TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
return 1;
}
//DM-EK VÉGE  /exit dm==================================================================================================================================
if (strcmp(\"/exitdm\", cmdtext, true, 10) == 0)
{
        IsInDM[playerid] = 0;
        new const rand = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[rand]
  • , RandomSpawns[rand] [1], RandomSpawns[rand] [2]);

        SetPlayerFacingAngle(playerid, RandomSpawns[rand] [3]);
SetPlayerVirtualWorld(playerid, 0);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid,24,99999);
        GivePlayerWeapon(playerid,31,99999);
        GivePlayerWeapon(playerid,9,20);
        GivePlayerWeapon(playerid,34,99999);
        GivePlayerWeapon(playerid,46,99999);
        GivePlayerWeapon(playerid,17,99999);
        GivePlayerWeapon(playerid,26,99999);
        SendClientMessage(playerid,0xff0000AA, \"||{0000FF}Kiléptél{0000FF} {000000}a DM zónából!{000000}\");
        TogglePlayerControllable(playerid,0);
        GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
        SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
return SendClientMessage(playerid, -1, \"Nem vagy DM zónába!\");
}
//===================================Drift=====================================================================================================
if (strcmp(\"/drift\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid, 0xff0000AA,\"Ahozz hogy elteleportálhas /exitdm\");
    return 1;
    }
        if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, 1094.2669,2292.7783,10.7970);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, 1094.2669,2292.7783,10.7970);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
}
return 1;
}
//====================================Drift2=======================================================================
if (strcmp(\"/drift7\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid, 0xff0000AA,\"Ahozz hogy elteleportálhas /exitdm\");
    return 1;
    }
        if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, -778.7633,2731.8259,45.3426);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, -778.7633,2731.8259,45.3426);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
}
return 1;
}
//======================================Drift3==========================================================================
if (strcmp(\"/drift3\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid, 0xff0000AA,\"Ahozz hogy elteleportálhas /exitdm\");
    return 1;
    }
        if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, -2134.7158,918.3775,79.8515);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, -2134.7158,918.3775,79.8515);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
}
return 1;
}
//=========================================Drift4==========================================================================
if (strcmp(\"/drift9\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid,0xff0000AA,\"Ahozz hogy elteleportálhas /exitdm\");
    return 1;
    }
        if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, -2666.2487,576.9454,14.4612);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, -2666.2487,576.9454,14.4612);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
}
return 1;
}
//===============================Drag==============================================================================
if (strcmp(\"/drag\", cmdtext, true, 10) == 0)
{
if(IsInDM[playerid] ==1)
    {
    SendClientMessage(playerid,0xff0000AA,\"Ahozz hogy elteleportálhas /exitdm\");
    return 1;
    }
        if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, -2682.0081,1289.0248,55.6646);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, -2682.0081,1289.0248,55.6646);
TogglePlayerControllable(playerid,0);
GameTextForPlayer(playerid,\"~r~Objektek\\n~w~Betoltese!\\n~g~Varj...\",2000,3);
SetTimerEx(\"UnFreezePlayer\",5000,0,\"i\",playerid);
}
return 1;
}
//=================================FloodTime================================================================================
#define FLOODTIME 3
public OnPlayerText(playerid, text[]){
new TickCount = GetTickCount();
if(GetPVarInt(playerid,\"FloodTime\") > (TickCount-(FLOODTIME * 1000))){
    SendClientMessage(playerid, 0xFF0000AA, \"Várj \"#FLOODTIME\" másodpercet!\");
return 0;
}
SetPVarInt(playerid,\"FloodTime\",GetTickCount());
return 1;
}
 
« Utoljára szerkesztve: 2013. január 18. - 16:38:14 írta N[o.O]naMe »

Nem elérhető DrAkE

  • 2078
    • Profil megtekintése
Stunt/Drift/Drag/Dm Gamemode
« Válasz #1 Dátum: 2013. január 18. - 16:33:04 »
0 Show voters
És ebben mit írtál te? Azon kívül, hogy CTRL+C és CTRL+V. Alap LVDM mód átszerkesztve.

Stunt/Drift/Drag/Dm Gamemode
« Válasz #2 Dátum: 2013. január 18. - 16:42:04 »
0 Show voters
Semmi nem lett CTR-C CTRL-V -ve
Nem értem miért baj az ha az LVdm modhoz írtam hozzá??
Miért áljak nekki egy teljesen új nak mikkor van egy olyan amit csak tovább kell írni

Stunt/Drift/Drag/Dm Gamemode
« Válasz #3 Dátum: 2013. január 22. - 19:01:16 »
0 Show voters
Ez télleg LVDM-bõl van atírva valami...  :facepalm:
 
naMe\" post=\"387433\" timestamp=\"1358523724\"]
Semmi nem lett CTR-C CTRL-V -ve
Nem értem miért baj az ha az LVdm modhoz írtam hozzá??
Miért áljak nekki egy teljesen új nak mikkor van egy olyan amit csak tovább kell írni
 
[/quote]
Mivel már ha modot írsz, az alapról kezd, ne másold...

Stunt/Drift/Drag/Dm Gamemode
« Válasz #4 Dátum: 2013. február 17. - 12:21:58 »
0 Show voters
God Job

Stunt/Drift/Drag/Dm Gamemode
« Válasz #5 Dátum: 2013. február 17. - 13:31:09 »
+1 Show voters
az nem good akart lenni??  :D :D

ᗩωєѕσмє

  • Vendég
Stunt/Drift/Drag/Dm Gamemode
« Válasz #6 Dátum: 2015. november 25. - 12:53:58 »
0 Show voters
Idézetet írta: Adrian12 date=1448445827\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"32611\" data-ipsquote-contentclass=\"forums_Topic
ez is jo gm ez már meg éri a + -t
 
nem szabad hsz hunterkedni, továbbá az sem ajánlott, hogy egy nagyon régi témához szólj hozzá.
Abban is biztos vagyok, hogy csak belejöttél ebbe a témába, láttad a módot, és már írtad is, hogy megéri a +t.

Nem elérhető Ben

  • 1754
  • Ben apó
    • Profil megtekintése
Stunt/Drift/Drag/Dm Gamemode
« Válasz #7 Dátum: 2015. november 25. - 12:59:30 »
+2 Show voters
Idézetet írta: Gregor date=1361100118\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"32611\" data-ipsquote-contentclass=\"forums_Topic
God Job
 
ádám és éva teremtése volt még igazán god job

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal