Szerző Téma: Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!  (Megtekintve 1027 alkalommal)

0 Show voters
ez az valaki nekem mentse el mert a pawno-m nem menti el valamiert
 
#include <a_samp>
#include <core>
#include <float>
#include <streamer>
#pragma tabsize 0
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
#define COLOR_LIGHTBLUE 0x00BFFFAA
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_AQUA 0x7CFC00AA
#define COLOR_WHITEYELLOW 0xFFE87DAA
#define COLOR_BLUEAQUA 0x7E60FFAA
#define COLOR_GREENYELLOWWHITE 0xCBFF45AA
#define COLOR_DARKBLUE 0x15005EAA
#define COLOR_RED 0xEB000FFF
#define COLOR_ROB_SUCCESS 0x00CCFFAA
#define COLOR_ROB_FAILURE 0xCCCCFFAA
#define COLOR_ROB_ERROR 0xFF0000AA
#define COLOR_ALIEN 0x90FF87FF
#define COLOR_SHOOTER 0xFFAC82FF
#define COLOR_WHITE 0xFFFFD5FF
#define PocketMoney 50000 // Amount player recieves on spawn.
#define INACTIVE_PLAYER_ID 255
#define GIVECASH_DELAY 5000 // Time in ms between /givecash commands.
#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}
};
//Round code stolen from mike\'s Manhunt :P
//new gRoundTime = 3600000;                   // Round time - 1 hour
//new gRoundTime = 1200000;               // Round time - 20 mins
//new gRoundTime = 900000;               // Round time - 15 mins
//new gRoundTime = 600000;               // Round time - 10 mins
//new gRoundTime = 300000;               // Round time - 5 mins
//new gRoundTime = 120000;               // Round time - 2 mins
//new gRoundTime = 60000;               // Round time - 1 min
new gActivePlayers[MAX_PLAYERS];
new gLastGaveCash[MAX_PLAYERS];
//------------------------------------------------------------------------------------------------------
main()
{
print(\"\\n----------------------------------\");
print(\"  Stunt_M0D by FaRCrY betoltve\\n\");
print(\"         \");
print(\"            \");
print(\"----------------------------------\\n\");
}
//------------------------------------------------------------------------------------------------------
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;
      //format(string, sizeof(string), \"$$$ %s is now in the lead $$$\", name);
      //SendClientMessageToAll(COLOR_YELLOW, string);
   }
}
}
}
//------------------------------------------------------------------------------------------------------
/*public GrubModeReset()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
   SetPlayerScore(i, PocketMoney);
   SetPlayerRandomSpawn(i, classid);
}
}
}*/
//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,\"Jo jatekot!\",10000,1);
SendPlayerFormattedText(playerid, \"SERVER: Üdv a szerveren a segitségért /help.\", 0);
SendPlayerFormattedText(playerid, \"SERVER: A szabályokért /rules.\", 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) {
        SendPlayerFormattedText(playerid,\"-Segitség:-\",0);
SendPlayerFormattedText(playerid,\"/rules-Szabályzat.\",0);
SendPlayerFormattedText(playerid,\"/parancsok.\",0);
SendPlayerFormattedText(playerid,\"/teles-teleportok.\",0);
SendPlayerFormattedText(playerid,\"/colors-szinek.\",0);
SendPlayerFormattedText(playerid,\"/shop-vásarlás.\",0);
return 1;
}
if(strcmp(cmd, \"/rules\", true) == 0) {
SendPlayerFormattedText(playerid,\"<<..::Szabályok::..>>\",0);
SendPlayerFormattedText(playerid,\"1.Ne csitelj = ban\",0);
SendPlayerFormattedText(playerid,\"2.Ne db-ez = kick\",0);
SendPlayerFormattedText(playerid,\"3.Ne spawn killez = kick\",0);
SendPlayerFormattedText(playerid,\"4.Ne káromkogy,ne anyázz = mute/kick\",0);
SendPlayerFormattedText(playerid,\"5.Ne floodolj = mute/kick\",0);
SendPlayerFormattedText(playerid,\"6.Ne csúfolkodj = warn/kick\",0);
SendPlayerFormattedText(playerid,\"7.Ne szidd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"8.Ne hirdess,ne reklámozz = kick/ban\",0);
SendPlayerFormattedText(playerid,\"9.Ne kérj Admin-t = warn/kick\",0);
SendPlayerFormattedText(playerid,\"10.Ne szidd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"11.Ne fenyegesd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"12.Ne böcsködj,ne feszits = warn/kick/ban\",0);
return 1;
}
if(strcmp(cmd, \"/shop\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek:\");
 SendClientMessage(playerid, COLOR_RED,\"/health=2000$\");
 SendClientMessage(playerid, COLOR_RED,\"/armour=3000$\");
 SendClientMessage(playerid, COLOR_RED,\"/chinsaw=4000$\");
 SendClientMessage(playerid, COLOR_RED,\"/m4=7000$\");
      SendClientMessage(playerid, COLOR_RED,\"/flamethrower=20000$\");
      SendClientMessage(playerid, COLOR_RED,\"/9mm=1000$\");
 SendClientMessage(playerid, COLOR_RED,\"/silence-9mm=1500$\");
 SendClientMessage(playerid, COLOR_RED,\"/eagle=3500$\");
 SendClientMessage(playerid, COLOR_WHITE,\"További dolgok /shop2\");
return 1;
}
 
if(strcmp(cmd, \"/shop2\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek2:\");
 SendClientMessage(playerid, COLOR_RED,\"/sawn-off=4500$\");
 SendClientMessage(playerid, COLOR_RED,\"/combat=5000$\");
     SendClientMessage(playerid, COLOR_RED,\"/uzi=3500$\");
 SendClientMessage(playerid, COLOR_RED,\"/mp5=4500$\");
 SendClientMessage(playerid, COLOR_RED,\"/ak47=5500$\");
 SendClientMessage(playerid, COLOR_RED,\"/m4=6000$\");
 SendClientMessage(playerid, COLOR_RED,\"/shotgun=4000$\");
 SendClientMessage(playerid, COLOR_RED,\"/tec9=2500$\");
 SendClientMessage(playerid, COLOR_WHITE,\"Továbi dolgok /shop3\");
return 1;
}
 
if(strcmp(cmd, \"/shop3\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek3:\");
 SendClientMessage(playerid, COLOR_RED,\"/rifle=4150$\");
 SendClientMessage(playerid, COLOR_RED,\"/sniper=4500$\");
return 1;
}
 
 
if(strcmp(cmd, \"/parancsok\", true) == 0) {
SendPlayerFormattedText(playerid,\"Parancsok:\",0);
SendPlayerFormattedText(playerid,\"/kill-meg halsz\",0);
SendPlayerFormattedText(playerid,\"/rep-kocsit meg javícsa\",0);
        SendPlayerFormattedText(playerid,\"/heli-helicoptert ad pénzert 70000$\",0);
        SendPlayerFormattedText(playerid,\"/me\",0);
        SendPlayerFormattedText(playerid,\"/pc-parachutet ad ingyen\",0);
        SendPlayerFormattedText(playerid,\"/stuntbonus\",0);
SendPlayerFormattedText(playerid,\"/givecash-pénz utalás\",0);
SendPlayerFormattedText(playerid,\"/nrg-nrg-500 ad ingyen\",0);
SendPlayerFormattedText(playerid,\"/freeway-freeway motort ad ingyen\",0);
return 1;
}
if(strcmp(cmd, \"/teles\", true) == 0) {
SendPlayerFormattedText(playerid,\"Teleportok:\",0);
        SendPlayerFormattedText(playerid,\"/kickstart /8track /tele-ls /tele-sf /tele-lv /ammu /grove /sf-pimp\",0);
SendPlayerFormattedText(playerid,\"/ls-pimp /chilliad /drag /dm /dm2 /dm3 /drift /drift2 /derby\",0);
SendPlayerFormattedText(playerid,\"/derby2 /army /lv-air /ls-air /sf-air /da-air /jizzy /jump\",0);
return 1;
}
if(strcmp(cmd, \"/colors\", true) == 0) {
SendPlayerFormattedText(playerid,\"Szinek:\",0);
SendPlayerFormattedText(playerid,\"/magenta /medgreen /lightred /darkmagenta /lightblue /lightgreen\",0);
        SendPlayerFormattedText(playerid,\"/lemon /orangered /yellow /darkgreen /medblue /darkpurple /lightbrown\",0);
SendPlayerFormattedText(playerid,\"/pink /orange /black /violet /lightcyan /red /lightbluegreen /gold /grayblue\",0);
SendPlayerFormattedText(playerid,\"/bluegreen /neutralblue /white\",0);
return 1;
}
if(strcmp(cmdtext, \"/magenta\", true) == 0){
        SetPlayerColor(playerid, 0xA587DE0BA354);
        return 1;
        }
        if(strcmp(cmdtext, \"/medgreen\", true) == 0){
        SetPlayerColor(playerid, 0x9CDE7180);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightred\", true) == 0){
        SetPlayerColor(playerid, 0xFF99AADD);
        return 1;
        }
        if(strcmp(cmd, \"/darkmagenta\", true) == 0){
        SetPlayerColor(playerid, 0xA7105DEF);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightblue\", true) == 0){
        SetPlayerColor(playerid, 0x33CCFFAA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightgreen\", true) == 0){
        SetPlayerColor(playerid, 0x24FF0AB9);
        return 1;
        }
        if(strcmp(cmdtext, \"/lemon\", true) == 0){
        SetPlayerColor(playerid, 0xDDDD2357);
        return 1;
        }
        if(strcmp(cmdtext, \"/orangered\", true) == 0){
        SetPlayerColor(playerid, 0xE9370DFC);
        return 1;
        }
        if(strcmp(cmdtext, \"/yellow\", true) == 0){
        SetPlayerColor(playerid, 0xFFFF00AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/darkgreen\", true) == 0){
        SetPlayerColor(playerid, 0x12900BBF);
        return 1;
        }
        if(strcmp(cmdtext, \"/medblue\", true) == 0){
        SetPlayerColor(playerid, 0x63AFF00A);
        return 1;
        }
        if(strcmp(cmdtext, \"/darkpurple\", true) == 0){
        SetPlayerColor(playerid, 0x800080AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightbrown\", true) == 0){
        SetPlayerColor(playerid, 0x99934EFA);
        return 1;
        }
        if(strcmp(cmdtext, \"/pink\", true) == 0){
        SetPlayerColor(playerid, 0xFF66FFAA);
        return 1;
        }
        if(strcmp(cmdtext, \"/orange\", true) == 0){
        SetPlayerColor(playerid, 0xFF9900AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/black\", true) == 0){
        SetPlayerColor(playerid, 0x00000000);
        return 1;
        }
        if(strcmp(cmdtext, \"/violet\", true) == 0){
        SetPlayerColor(playerid, 0x9955DEEE);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightcyan\", true) == 0){
        SetPlayerColor(playerid, 0xAAFFCC33);
        return 1;
        }
        if(strcmp(cmdtext, \"/red\", true) == 0){
        SetPlayerColor(playerid, 0xAA3333AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightbluegreen\", true) == 0){
        SetPlayerColor(playerid, 0x0FFDD349);
        return 1;
        }
        if(strcmp(cmdtext, \"/gold\", true) == 0){
        SetPlayerColor(playerid, 0xDEAD4370);
        return 1;
        }
        if(strcmp(cmdtext, \"/grayblue\", true) == 0){
        SetPlayerColor(playerid, 0x456EAF67);
        return 1;
        }
        if(strcmp(cmdtext, \"/bluegreen\", true) == 0){
        SetPlayerColor(playerid, 0x46BBAA00);
        return 1;
        }
        if(strcmp(cmdtext, \"/neutralblue\", true) == 0){
        SetPlayerColor(playerid, 0xABCDEF01);
        return 1;
        }
        if(strcmp(cmdtext, \"/white\", true) == 0){
        SetPlayerColor(playerid, 0xFFFFFFAA);
           return 1;
}
 
if(strcmp(cmd, \"/jump\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1532.2787,-1357.2721,329.4535);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1532.2787,-1357.2721,329.4535);
GivePlayerWeapon(playerid, 46, 200);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/jizzy\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2626.7002,1392.7729,7.1016);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2626.7002,1392.7729,7.1016);
}
return 1;
}
 

if(strcmp(cmdtext, \"/health\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 2000)
   {
      GivePlayerMoney(playerid, -2000);
      SendClientMessage(playerid, 0xFFFF00AA, \"élet meg véve -2000$ !\");
      SetPlayerHealth(playerid, 100);
      GameTextForPlayer(playerid, \"~r~Healed!\",1900,1);
   }
   else if(GetPlayerMoney(playerid) < 2000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/armour\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3000)
   {
      GivePlayerMoney(playerid, -3000);
      SendClientMessage(playerid, 0xFFFF00AA, \"pajzs meg véve -3000$ !\");
      SetPlayerArmour(playerid, 100);
      GameTextForPlayer(playerid, \"~r~Armoured!\",1900,1);
   }
   else if(GetPlayerMoney(playerid) < 3000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3000$ kel hozzá !\");
   }
   return 1;
}
 
 
if(strcmp(cmdtext,\"/freeway\",true) == 0)
           {
          new Float:X;
          new Float:Y;
          new Float:Z;
          GetPlayerPos(playerid,X,Y,Z);
          CreateVehicle(463,X,Y+1,Z+1,5,3,0,90000);
          SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen freeway a tied!\");
          return 1;
           }
 
 
if(strcmp(cmdtext,\"/nrg\",true) == 0)
            {
        new Float:X;
        new Float:Y;
           new Float:Z;
           GetPlayerPos(playerid,X,Y,Z);
           CreateVehicle(522,X,Y+1,Z+1,5,3,0,90000);
        SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen nrg a tied!\");
           return 1;
            }
 
 

if(strcmp(cmd, \"/ls-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2126.1204,-2560.5300,13.5469);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2126.1204,-2560.5300,13.5469);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/sf-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1688.5039,-196.1701,14.1484);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1688.5039,-196.1701,14.1484);
}
return 1;
}
 
 

if(strcmp(cmd, \"/lv-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1702.6162,1608.1442,10.3202);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1702.6162,1608.1442,10.3202);
}
return 1;
}
 

if(strcmp(cmd, \"/army\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,296.5106,1974.9750,17.6406);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,296.5106,1974.9750,17.6406);
}
return 1;
}
 
 

if(strcmp(cmd, \"/derby2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1199.5333,-1068.5527,129.1338);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1199.5333,-1068.5527,129.1338);
}
return 1;
}
 
 
if(strcmp(cmd, \"/derby\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2040.2617,-108.5906,35.1984);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2040.2617,-108.5906,35.1984);
}
return 1;
}
 
 

if(strcmp(cmd, \"/drift2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2510.2849,-623.0972,132.7324);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2510.2849,-623.0972,132.7324);
}
return 1;
}
 
 
if(strcmp(cmd, \"/drift\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-343.0616,1528.1173,75.3570);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-343.0616,1528.1173,75.3570);
}
return 1;
}
 
 
if(strcmp(cmd, \"/dm3\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1407.0469,1486.2013,7.1016);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1407.0469,1486.2013,7.1016);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/dm2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,620.3115,833.7418,-42.9609);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,620.3115,833.7418,-42.9609);
}
return 1;
}
 
 
if(strcmp(cmd, \"/dm\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-536.2773,2593.6890,53.4154);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-536.2773,2593.6890,53.4154);
}
return 1;
}
 
 
if(strcmp(cmd, \"/da-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,397.9708,2539.6289,19.6311);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,397.9708,2539.6289,19.6311);
}
return 1;
}
 
 

if(strcmp(cmd, \"/drag\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2680.9539,1254.0300,55.6806);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2680.9539,1254.0300,55.6806);
}
return 1;
}
 

if(strcmp(cmd, \"/chilliad\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2310.7341,-1654.3699,483.6932);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2310.7341,-1654.3699,483.6932);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/lv-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2385.6577,1027.3882,10.8203);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2385.6577,1027.3882,10.8203);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/ls-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1041.7820,-1034.0206,31.8991);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1041.7820,-1034.0206,31.8991);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/sf-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2692.4758,208.7675,4.3281);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2692.4758,208.7675,4.3281);
}
return 1;
}
 
 
if(strcmp(cmd, \"/grove\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2504.8965,-1668.2948,13.3696);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2504.8965,-1668.2948,13.3696);
}
return 1;
}
 
 
if(strcmp(cmd, \"/ammu\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2136.2075,953.7546,10.7474);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2136.2075,953.7546,10.7474);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-ls\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2772.1746,-2006.9355,13.5547);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2772.1746,-2006.9355,13.5547);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-sf\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1918.7202,282.9269,41.0469);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1918.7202,282.9269,41.0469);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-lv\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2326.8254,1387.0673,42.8203);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2326.8254,1387.0673,42.8203);
}
return 1;
}
 
 
if(strcmp(cmdtext, \"/stuntbonus\",true)==0) {
   EnableStuntBonusForPlayer(playerid, 1);
   return 1;
}
 
 
if(strcmp(cmdtext, \"/pc\",true)==0)
{
   GivePlayerWeapon(playerid, 46, 1);
   SendClientMessage(playerid, 0x00BFFFFF, \"adtal magadnak parachutet\");
   return 1;
}
 

if(strcmp(cmd, \"/me\",true)==0){
   new dir[256];
   dir = strtok(cmdtext, idx);
   strmid(\"tmp\", cmdtext, 4, strlen(cmdtext));
   if(!strlen(dir)) {
      SendClientMessage(playerid,COLOR_GREY,\"Használat: /me [szöveg]\");
      return 1;
   }
   dir = strtok(cmdtext, idx);
   GetPlayerName(playerid, sendername, sizeof(sendername));
   format(string, sizeof(string), \"***%s %s\", sendername, \"tmp\");
   SendClientMessageToAll(COLOR_WHITE,string);
   print(string);
   return 1;
}
 
if(strcmp(cmdtext, \"/sniper\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 34, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/rifle\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4150)
   {
      GivePlayerMoney(playerid, -4150);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4150$ !\");
      GivePlayerWeapon(playerid, 33, 200);
   }
   else if(GetPlayerMoney(playerid) < 4150)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4150$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/tec9\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 2500)
   {
      GivePlayerMoney(playerid, -2500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -2500$ !\");
      GivePlayerWeapon(playerid, 32, 200);
   }
   else if(GetPlayerMoney(playerid) < 2500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2500$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/ak47\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 5500)
   {
      GivePlayerMoney(playerid, -5500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5500$ !\");
      GivePlayerWeapon(playerid, 30, 200);
   }
   else if(GetPlayerMoney(playerid) < 5500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5500$ kel hozzá !\");
   }
   return 1;
}
 
 
if(strcmp(cmdtext, \"/mp5\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 29, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
 
if(strcmp(cmdtext, \"/uzi\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3500)
   {
      GivePlayerMoney(playerid, -3500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 3500$ !\");
      GivePlayerWeapon(playerid, 28, 200);
   }
   else if(GetPlayerMoney(playerid) < 3500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/combat\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 5000)
   {
      GivePlayerMoney(playerid, -5000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5000$ !\");
      GivePlayerWeapon(playerid, 27, 200);
   }
   else if(GetPlayerMoney(playerid) < 5000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5000$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/sawn-off\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 26, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/shotgun\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4000)
   {
      GivePlayerMoney(playerid, -4000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\");
      GivePlayerWeapon(playerid, 25, 200);
   }
   else if(GetPlayerMoney(playerid) < 4000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/silence-9mm\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 1500)
   {
      GivePlayerMoney(playerid, -1500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1500$ !\");
      GivePlayerWeapon(playerid, 23, 200);
   }
   else if(GetPlayerMoney(playerid) < 1500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1500$ kel hozzá !\");
   }
   return 1;
}
 

if(strcmp(cmdtext, \"/eagle\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3500)
   {
      GivePlayerMoney(playerid, -3500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -3500$ !\");
      GivePlayerWeapon(playerid, 24, 200);
   }
   else if(GetPlayerMoney(playerid) < 3500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/9mm\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 1000)
   {
      GivePlayerMoney(playerid, -1000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1000$ !\");
      GivePlayerWeapon(playerid, 22, 200);
   }
   else if(GetPlayerMoney(playerid) < 1000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/chinsaw\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4000)
   {
      GivePlayerMoney(playerid, -4000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\");
      GivePlayerWeapon(playerid, 9, 200);
   }
   else if(GetPlayerMoney(playerid) < 4000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/m4\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 6000)
                  {
      GivePlayerMoney(playerid, -6000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -6000$ !\");
      GivePlayerWeapon(playerid, 31, 200);
   }
   else if(GetPlayerMoney(playerid) < 6000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 6000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/heli\", true) == 0)
{
   new Float:X, Float:Y, Float:Z;
   GetPlayerPos(playerid, X, Y, Z);
   if(GetPlayerMoney(playerid) >= 70000)
   {
      GivePlayerMoney(playerid, -70000);
      SendClientMessage(playerid, 0xFFFF00AA, \"heli meg véve -70000$ !\");
      CreateVehicle(497, X, Y, Z + 1, 90.0, -1, -1, 1000000000);
   }
   else if(GetPlayerMoney(playerid) < 70000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 70000$ kel hozzá !\");
   }
   return 1;
}
 
if(strcmp(cmdtext, \"/flamethrower\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 20000)
   {
      GivePlayerMoney(playerid, -20000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 20000$ !\");
      GivePlayerWeapon(playerid, 37, 200);
   }
   else if(GetPlayerMoney(playerid) < 20000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 20000$ kel hozzá !\");
   }
   return 1;
}
 
       if(strcmp(cmdtext, \"/rep\",true)==0)
{
   if(IsPlayerInAnyVehicle(playerid))
   {
       SendClientMessage(playerid, COLOR_YELLOW, \"Auto: javítva !\");
      SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
   }
   else return SendClientMessage(playerid, COLOR_RED, \"SERVER: nem vagy kocsiba.\");
   return 1;
}
 
if (strcmp(cmdtext, \"/8track\",true)==0){
   SetPlayerInterior(playerid,7);
   ResetPlayerWeapons(playerid);
   SetPlayerPos(playerid,-1403.0116,-250.4526,1043.5341);
   SendClientMessage(playerid, COLOR_YELLOW, \"Welcome to 8-Track RC Circuit\");
   new name[MAX_PLAYER_NAME+1];
   GetPlayerName(playerid, name, sizeof(name));
   format(string, sizeof(string), \"%s has joined 8-Track RC Circuit, type /8track to join\", name);
   return 1;
}
 
if (strcmp(cmdtext, \"/kickstart\",true)==0){
   SetPlayerInterior(playerid,14);
   ResetPlayerWeapons(playerid);
   SetPlayerPos(playerid,-1462.9445,1562.0704,1052.7500); //);
   SendClientMessage(playerid, COLOR_YELLOW, \"***Welcome to KickStart Stadium\");
   new name[MAX_PLAYER_NAME+1];
   GetPlayerName(playerid, name, sizeof(name));
   format(string, sizeof(string), \"%s has joined KickStart Stadium, type /kickstart to join\", name);
   return 1;
}
if(strcmp(cmdtext, \"/kill\",true)==0) {
   SetPlayerHealth(playerid, 0.00);
   ResetPlayerWeapons(playerid);
   return 1;
}
if(strcmp(cmd, \"/givecash\", true) == 0) {
    new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\");
   return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\");
   return 1;
}
   moneys = strval(tmp);
//printf(\"givecash_command: %d %d\",giveplayerid,moneys);
 
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), \"You have sent %s(player: %d), $%d.\", giveplayer,giveplayerid, moneys);
      SendClientMessage(playerid, COLOR_YELLOW, string);
      format(string, sizeof(string), \"You have recieved $%d from %s(player: %d).\", moneys, sendername, playerid);
      SendClientMessage(giveplayerid, COLOR_YELLOW, string);
      printf(\"%s(playerid:%d) has transfered %d to %s(playerid:%d)\",sendername, playerid, moneys, giveplayer, giveplayerid);
   }
   else {
      SendClientMessage(playerid, COLOR_YELLOW, \"Invalid transaction amount.\");
   }
}
else {
      format(string, sizeof(string), \"%d is not an active player.\", giveplayerid);
      SendClientMessage(playerid, COLOR_YELLOW, string);
   }
return 1;
}
// PROCESS OTHER COMMANDS
 
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]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
    }
    else if (iSpawnSet[playerid] == 0)
    {
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
}
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
    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 OnPlayerDeath(playerid, killerid, reason)
{   haxed by teh mike
new name[MAX_PLAYER_NAME];
new string[256];
new deathreason[20];
new playercash;
GetPlayerName(playerid, name, sizeof(name));
GetWeaponName(reason, deathreason, 20);
if (killerid == INVALID_PLAYER_ID) {
    switch (reason) {
   case WEAPON_DROWN:
   {
                format(string, sizeof(string), \"*** %s drowned.)\", name);
   }
   default:
   {
       if (strlen(deathreason) > 0) {
         format(string, sizeof(string), \"*** %s died. (%s)\", name, deathreason);
      } else {
          format(string, sizeof(string), \"*** %s died.\", name);
      }
   }
}
}
else {
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
if (strlen(deathreason) > 0) {
format(string, sizeof(string), \"*** %s killed %s. (%s)\", killer, name, deathreason);
} else {
      format(string, sizeof(string), \"*** %s killed %s.\", killer, name);
   }
}
SendClientMessageToAll(COLOR_RED, string);
{
playercash = GetPlayerMoney(playerid);
if (playercash > 0)
{
   GivePlayerMoney(killerid, playercash);
   ResetPlayerMoney(playerid);
}
else
{
}
}
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 GameModeExitFunc()
{
GameModeExit();
}
public OnGameModeInit()
{
CreateDynamicObject(1655, 1476.9000244141, 1826.5999755859, 10.60000038147, 0, 0, 2);
CreateDynamicObject(1655, 1479.4000244141, 1830.5, 57.5, 130, 13, 1.99951171875);
CreateDynamicObject(1655, 1478, 1839.0999755859, 48.5, 100, 10, 1.99951171875);
CreateDynamicObject(1655, 1476.8000488281, 1843.1999511719, 33.099998474121, 60, 6, 1.99951171875);
CreateDynamicObject(1655, 1477, 1843.0999755859, 38.200000762939, 80, 8, 1.99951171875);
CreateDynamicObject(1655, 1476.5999755859, 1840.1999511719, 23.39999961853, 40, 4, 1.99951171875);
CreateDynamicObject(1655, 1476.6999511719, 1834.1999511719, 15.60000038147, 20, 2, 1.99951171875);
CreateDynamicObject(1655, 1476.8000488281, 1830.5999755859, 12.699999809265, 10, 1, 1.99951171875);
CreateDynamicObject(1655, 1476.5999755859, 1837.5, 19.200000762939, 30, 3, 1.99951171875);
CreateDynamicObject(1655, 1476.6999511719, 1842.0999755859, 28.10000038147, 50, 5, 1.99951171875);
CreateDynamicObject(1655, 1477.4000244141, 1841.6999511719, 43.299999237061, 90, 9, 1.99951171875);
CreateDynamicObject(1655, 1478.5999755859, 1835.4000244141, 53.5, 110, 11, 1.99951171875);
CreateDynamicObject(1655, 1481.6999511719, 1812.5999755859, 61.099998474121, 175, 17, 1.99951171875);
CreateDynamicObject(1655, 1481.0999755859, 1816.8000488281, 61.599998474121, 160, 16, 1.99951171875);
CreateDynamicObject(1655, 1484.8000488281, 1796.5, 47.799999237061, 220, 22, 1.99951171875);
CreateDynamicObject(1655, 1482.6999511719, 1806.0999755859, 58.099998474121, 190, 19, 1.99951171875);
CreateDynamicObject(1655, 1483.8000488281, 1800.9000244141, 53.900001525879, 205, 20, 1.99951171875);
CreateDynamicObject(1655, 1490.5, 1804.4000244141, 14.800000190735, 320, 20, 1.99951171875);
CreateDynamicObject(1655, 1480.3000488281, 1823.9000244141, 60.400001525879, 140, 14, 1.99951171875);
CreateDynamicObject(1655, 1488.1999511719, 1793.8000488281, 27.299999237061, 265, 26, 1.99951171875);
CreateDynamicObject(1655, 1490.5, 1810.5999755859, 12.89999961853, 330, 10, 1.99951171875);
CreateDynamicObject(1655, 1489.6999511719, 1799.4000244141, 18.39999961853, 295, 29, 1.99951171875);
CreateDynamicObject(1655, 1488.9000244141, 1795.5, 23.200000762939, 280, 28, 1.99951171875);
CreateDynamicObject(1655, 1490.3000488281, 1801.5999755859, 16.39999961853, 305, 30, 1.99951171875);
CreateDynamicObject(1655, 1485.9000244141, 1794, 41.799999237061, 235, 23, 1.99951171875);
CreateDynamicObject(1655, 1487, 1793, 34, 250, 25, 1.99951171875);
CreateDynamicObject(8171, 1528.8000488281, 1883.8000488281, 116, 30, 0, 0);
CreateDynamicObject(8171, 1528.9000244141, 1991.5999755859, 178.30000305176, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.8000488281, 2107.6999511719, 245.30000305176, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.8000488281, 2212.1999511719, 305.60000610352, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.5999755859, 2324.1000976563, 370.29998779297, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.6999511719, 2440.1000976563, 437.29998779297, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.6999511719, 2555.3999023438, 503.89999389648, 29.998168945313, 0, 0);
CreateDynamicObject(1655, 1513.4000244141, 1827.8000488281, 84.800003051758, 330, 0, 180);
CreateDynamicObject(1655, 1521.3000488281, 1827.5999755859, 84.699996948242, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1530, 1827.6999511719, 84.699996948242, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1538.6999511719, 1827.5, 84.599998474121, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1544.5, 1827.1999511719, 84.5, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(3816, 1529.5999755859, 2643.1999511719, 547.09997558594, 0, 0, 0);
CreateDynamicObject(7981, 1549.4000244141, 2663.8000488281, 543.59997558594, 0, 0, 0);
CreateDynamicObject(11393, 1552.8000488281, 2625.6999511719, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1553, 2636.3000488281, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1553.5999755859, 2647.1000976563, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1552, 2657.3999023438, 540.40002441406, 0, 0, 0);
CreateDynamicObject(11393, 1531.1999511719, 2669, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11480, 1505.5999755859, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1513, 2668.3000488281, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1520.4000244141, 2668.3000488281, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1527.9000244141, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1535.1999511719, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11505, 1509.9000244141, 2620.8999023438, 543, 0, 0, 0);
CreateDynamicObject(14796, 1502.9000244141, 2620.1999511719, 542.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.0999755859, 2620.8999023438, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.8000488281, 2632.3999023438, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.5, 2643.1000976563, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.1999511719, 2653.3000488281, 539.29998779297, 0, 0, 0);
CreateDynamicObject(6976, 1503, 2651.6000976563, 538.59997558594, 0, 0, 90);
CreateDynamicObject(991, 1518.3000488281, 2618, 539.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 539.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 539.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 539.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1518.3000488281, 2618, 541.90002441406, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 541.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 541.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 542.09997558594, 0, 0, 0);
CreateDynamicObject(991, 1518.3000488281, 2618, 544, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 544.09997558594, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 544.20001220703, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 544.09997558594, 0, 0, 0);
CreateDynamicObject(991, 1510.1999511719, 2626.1000976563, 544.20001220703, 0, 0, 0);
CreateDynamicObject(1422, 1531.5999755859, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1528.9000244141, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1526.1999511719, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1523.5, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1534.3000488281, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1535.5999755859, 2647.8000488281, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2645.1000976563, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2642.3999023438, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2639.6999511719, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2645.1000976563, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2642.3999023438, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2639.6999511719, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2647.8000488281, 539, 0, 0, 90);
CreateDynamicObject(1422, 1528.9000244141, 2645, 539, 0, 0, 0);
CreateDynamicObject(8171, 1560.8000488281, 2548.3000488281, 516.79998779297, 29.998168945313, 310, 0);
CreateDynamicObject(8171, 1560.6999511719, 2432.1000976563, 449.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1561.0999755859, 2317.8000488281, 383.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.8000488281, 2203.8000488281, 318.29998779297, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.8000488281, 2087.6000976563, 251.39999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.6999511719, 1970.5, 183.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.5, 1883.3000488281, 133.10000610352, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1497.4000244141, 2548.6999511719, 516.40002441406, 29.998168945313, 50, 0);
CreateDynamicObject(8171, 1497, 2436.3000488281, 451.70001220703, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.5999755859, 2326.3999023438, 388.5, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.6999511719, 2217.1999511719, 325.60000610352, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.6999511719, 2103.3999023438, 259.89999389648, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.9000244141, 1992.3000488281, 196.19999694824, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.8000488281, 1886.0999755859, 134.69999694824, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(1655, 1513.4000244141, 1824, 84.599998474121, 340, 0, 179.99450683594);
CreateDynamicObject(1655, 1521.5, 1823.8000488281, 84.599998474121, 340, 0, 179.99450683594);
CreateDynamicObject(1655, 1530.1999511719, 1823.9000244141, 84.599998474121, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(1655, 1538.9000244141, 1823.6999511719, 84.599998474121, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(1655, 1544.5999755859, 1823.4000244141, 84.400001525879, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(16088, -1453, -1296.0999755859, 99.699996948242, 0, 0, 30);
CreateDynamicObject(10281, -1454.0999755859, -1297.0999755859, 107.09999847412, 10, 0, 300);
CreateDynamicObject(3534, -1452.9000244141, -1283.9000244141, 101.59999847412, 0, 0, 0);
CreateDynamicObject(3534, -1452.5, -1277.8000488281, 102.5, 0, 0, 0);
CreateDynamicObject(3534, -1451.6999511719, -1272.3000488281, 103.5, 0, 0, 0);
CreateDynamicObject(3534, -1443.9000244141, -1290.8000488281, 102.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1443.6999511719, -1283.1999511719, 103.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1444.6999511719, -1298.5, 101.5, 0, 0, 0);
CreateDynamicObject(3534, -1443.0999755859, -1276.9000244141, 104.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1442.5999755859, -1271, 105.5, 0, 0, 0);
CreateDynamicObject(3534, -1450.5999755859, -1265.6999511719, 104.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1441.5999755859, -1264.0999755859, 106.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1449.1999511719, -1258.6999511719, 106.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1440.8000488281, -1256.4000244141, 107.90000152588, 0, 0, 0);
CreateDynamicObject(3534, -1447.5, -1250.6999511719, 107.5, 0, 0, 0);
CreateDynamicObject(3534, -1438.5, -1244.0999755859, 107.5, 0, 0, 0);
CreateDynamicObject(3534, -1445.1999511719, -1239.3000488281, 107.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1435.6999511719, -1229.5999755859, 106.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1441.6999511719, -1223.9000244141, 106.5, 0, 0, 0);
CreateDynamicObject(3534, -1432.6999511719, -1217.0999755859, 106.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1439.5999755859, -1213.0999755859, 106.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1433.0999755859, -1203, 105.90000152588, 0, 0, 0);
CreateDynamicObject(3534, -1441.3000488281, -1201.0999755859, 106, 0, 0, 0);
CreateDynamicObject(3534, -1436.5999755859, -1182.3000488281, 105.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1445, -1183.0999755859, 105.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1445.5, -1161.1999511719, 106.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1448.5999755859, -1173.4000244141, 105.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1454.6999511719, -1167.0999755859, 108.30000305176, 0, 0, 0);
CreateDynamicObject(3534, -1451.0999755859, -1152.4000244141, 109.5, 0, 0, 0);
CreateDynamicObject(3534, -1458.5, -1146, 112.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1459.5999755859, -1161.9000244141, 110.59999847412, 0, 0, 0);
CreateDynamicObject(3534, -1467.1999511719, -1155, 114.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1463.5999755859, -1140.3000488281, 115.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1470.6999511719, -1132.4000244141, 118.69999694824, 0, 0, 0);
« Utoljára szerkesztve: 2012. február 25. - 16:26:42 írta <[Lu$ta]> »

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #1 Dátum: 2012. február 25. - 15:03:49 »
0 Show voters
Szia!
[pawn]
CreateDynamicObject(3534, -1470.6999511719, -1132.4000244141, 118.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1480.5999755859, -1122.5999755859,
[/pawn]
Ennek most azért van vége mert nem használsz pawn kódot, vagy a módban is eddig van csak?

Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #2 Dátum: 2012. február 25. - 15:06:04 »
0 Show voters
nem nem meg sok van csak az a baj hogy tegyem pawno code ba ? :tantrum:

Nem elérhető sadox

  • 116
  • sadox
    • Profil megtekintése
Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #3 Dátum: 2012. február 25. - 16:01:26 »
0 Show voters
[*code] [*/code] *-jel nélkül

Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #4 Dátum: 2012. február 25. - 16:06:39 »
0 Show voters
#include <a_samp>
#include <core>
#include <float>
#include <streamer>
#pragma tabsize 0
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
#define COLOR_LIGHTBLUE 0x00BFFFAA
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_AQUA 0x7CFC00AA
#define COLOR_WHITEYELLOW 0xFFE87DAA
#define COLOR_BLUEAQUA 0x7E60FFAA
#define COLOR_GREENYELLOWWHITE 0xCBFF45AA
#define COLOR_DARKBLUE 0x15005EAA
#define COLOR_RED 0xEB000FFF
#define COLOR_ROB_SUCCESS 0x00CCFFAA
#define COLOR_ROB_FAILURE 0xCCCCFFAA
#define COLOR_ROB_ERROR 0xFF0000AA
#define COLOR_ALIEN 0x90FF87FF
#define COLOR_SHOOTER 0xFFAC82FF
#define COLOR_WHITE 0xFFFFD5FF
#define PocketMoney 50000 // Amount player recieves on spawn.
#define INACTIVE_PLAYER_ID 255
#define GIVECASH_DELAY 5000 // Time in ms between /givecash commands.
#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}
};
//Round code stolen from mike\'s Manhunt :P
//new gRoundTime = 3600000;                   // Round time - 1 hour
//new gRoundTime = 1200000;               // Round time - 20 mins
//new gRoundTime = 900000;               // Round time - 15 mins
//new gRoundTime = 600000;               // Round time - 10 mins
//new gRoundTime = 300000;               // Round time - 5 mins
//new gRoundTime = 120000;               // Round time - 2 mins
//new gRoundTime = 60000;               // Round time - 1 min
new gActivePlayers[MAX_PLAYERS];
new gLastGaveCash[MAX_PLAYERS];
//------------------------------------------------------------------------------------------------------
main()
{
print(\"\\n----------------------------------\");
print(\"  Stunt_M0D by FaRCrY betoltve\\n\");
print(\"         \");
print(\"            \");
print(\"----------------------------------\\n\");
}
//------------------------------------------------------------------------------------------------------
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;
      //format(string, sizeof(string), \"$$$ %s is now in the lead $$$\", name);
      //SendClientMessageToAll(COLOR_YELLOW, string);
   }
}
}
}
//------------------------------------------------------------------------------------------------------
/*public GrubModeReset()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
   SetPlayerScore(i, PocketMoney);
   SetPlayerRandomSpawn(i, classid);
}
}
}*/
//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,\"Jo jatekot!\",10000,1);
SendPlayerFormattedText(playerid, \"SERVER: Üdv a szerveren a segitségért /help.\", 0);
SendPlayerFormattedText(playerid, \"SERVER: A szabályokért /rules.\", 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) {
        SendPlayerFormattedText(playerid,\"-Segitség:-\",0);
SendPlayerFormattedText(playerid,\"/rules-Szabályzat.\",0);
SendPlayerFormattedText(playerid,\"/parancsok.\",0);
SendPlayerFormattedText(playerid,\"/teles-teleportok.\",0);
SendPlayerFormattedText(playerid,\"/colors-szinek.\",0);
SendPlayerFormattedText(playerid,\"/shop-vásarlás.\",0);
return 1;
}
if(strcmp(cmd, \"/rules\", true) == 0) {
SendPlayerFormattedText(playerid,\"<<..::Szabályok::..>>\",0);
SendPlayerFormattedText(playerid,\"1.Ne csitelj = ban\",0);
SendPlayerFormattedText(playerid,\"2.Ne db-ez = kick\",0);
SendPlayerFormattedText(playerid,\"3.Ne spawn killez = kick\",0);
SendPlayerFormattedText(playerid,\"4.Ne káromkogy,ne anyázz = mute/kick\",0);
SendPlayerFormattedText(playerid,\"5.Ne floodolj = mute/kick\",0);
SendPlayerFormattedText(playerid,\"6.Ne csúfolkodj = warn/kick\",0);
SendPlayerFormattedText(playerid,\"7.Ne szidd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"8.Ne hirdess,ne reklámozz = kick/ban\",0);
SendPlayerFormattedText(playerid,\"9.Ne kérj Admin-t = warn/kick\",0);
SendPlayerFormattedText(playerid,\"10.Ne szidd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"11.Ne fenyegesd az adminokat = warn/kick\",0);
SendPlayerFormattedText(playerid,\"12.Ne böcsködj,ne feszits = warn/kick/ban\",0);
return 1;
}
if(strcmp(cmd, \"/shop\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek:\");
 SendClientMessage(playerid, COLOR_RED,\"/health=2000$\");
 SendClientMessage(playerid, COLOR_RED,\"/armour=3000$\");
 SendClientMessage(playerid, COLOR_RED,\"/chinsaw=4000$\");
 SendClientMessage(playerid, COLOR_RED,\"/m4=7000$\");
      SendClientMessage(playerid, COLOR_RED,\"/flamethrower=20000$\");
      SendClientMessage(playerid, COLOR_RED,\"/9mm=1000$\");
 SendClientMessage(playerid, COLOR_RED,\"/silence-9mm=1500$\");
 SendClientMessage(playerid, COLOR_RED,\"/eagle=3500$\");
 SendClientMessage(playerid, COLOR_WHITE,\"További dolgok /shop2\");
return 1;
}
 
if(strcmp(cmd, \"/shop2\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek2:\");
 SendClientMessage(playerid, COLOR_RED,\"/sawn-off=4500$\");
 SendClientMessage(playerid, COLOR_RED,\"/combat=5000$\");
     SendClientMessage(playerid, COLOR_RED,\"/uzi=3500$\");
 SendClientMessage(playerid, COLOR_RED,\"/mp5=4500$\");
 SendClientMessage(playerid, COLOR_RED,\"/ak47=5500$\");
 SendClientMessage(playerid, COLOR_RED,\"/m4=6000$\");
 SendClientMessage(playerid, COLOR_RED,\"/shotgun=4000$\");
 SendClientMessage(playerid, COLOR_RED,\"/tec9=2500$\");
 SendClientMessage(playerid, COLOR_WHITE,\"Továbi dolgok /shop3\");
return 1;
}
 
if(strcmp(cmd, \"/shop3\", true) == 0) {
 SendClientMessage(playerid, COLOR_GREEN,\"Fegyverek3:\");
 SendClientMessage(playerid, COLOR_RED,\"/rifle=4150$\");
 SendClientMessage(playerid, COLOR_RED,\"/sniper=4500$\");
return 1;
}
 
 
if(strcmp(cmd, \"/parancsok\", true) == 0) {
SendPlayerFormattedText(playerid,\"Parancsok:\",0);
SendPlayerFormattedText(playerid,\"/kill-meg halsz\",0);
SendPlayerFormattedText(playerid,\"/rep-kocsit meg javícsa\",0);
        SendPlayerFormattedText(playerid,\"/heli-helicoptert ad pénzert 70000$\",0);
        SendPlayerFormattedText(playerid,\"/me\",0);
        SendPlayerFormattedText(playerid,\"/pc-parachutet ad ingyen\",0);
        SendPlayerFormattedText(playerid,\"/stuntbonus\",0);
SendPlayerFormattedText(playerid,\"/givecash-pénz utalás\",0);
SendPlayerFormattedText(playerid,\"/nrg-nrg-500 ad ingyen\",0);
SendPlayerFormattedText(playerid,\"/freeway-freeway motort ad ingyen\",0);
return 1;
}
if(strcmp(cmd, \"/teles\", true) == 0) {
SendPlayerFormattedText(playerid,\"Teleportok:\",0);
        SendPlayerFormattedText(playerid,\"/kickstart /8track /tele-ls /tele-sf /tele-lv /ammu /grove /sf-pimp\",0);
SendPlayerFormattedText(playerid,\"/ls-pimp /chilliad /drag /dm /dm2 /dm3 /drift /drift2 /derby\",0);
SendPlayerFormattedText(playerid,\"/derby2 /army /lv-air /ls-air /sf-air /da-air /jizzy /jump\",0);
return 1;
}
if(strcmp(cmd, \"/colors\", true) == 0) {
SendPlayerFormattedText(playerid,\"Szinek:\",0);
SendPlayerFormattedText(playerid,\"/magenta /medgreen /lightred /darkmagenta /lightblue /lightgreen\",0);
        SendPlayerFormattedText(playerid,\"/lemon /orangered /yellow /darkgreen /medblue /darkpurple /lightbrown\",0);
SendPlayerFormattedText(playerid,\"/pink /orange /black /violet /lightcyan /red /lightbluegreen /gold /grayblue\",0);
SendPlayerFormattedText(playerid,\"/bluegreen /neutralblue /white\",0);
return 1;
}
if(strcmp(cmdtext, \"/magenta\", true) == 0){
        SetPlayerColor(playerid, 0xA587DE0BA354);
        return 1;
        }
        if(strcmp(cmdtext, \"/medgreen\", true) == 0){
        SetPlayerColor(playerid, 0x9CDE7180);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightred\", true) == 0){
        SetPlayerColor(playerid, 0xFF99AADD);
        return 1;
        }
        if(strcmp(cmd, \"/darkmagenta\", true) == 0){
        SetPlayerColor(playerid, 0xA7105DEF);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightblue\", true) == 0){
        SetPlayerColor(playerid, 0x33CCFFAA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightgreen\", true) == 0){
        SetPlayerColor(playerid, 0x24FF0AB9);
        return 1;
        }
        if(strcmp(cmdtext, \"/lemon\", true) == 0){
        SetPlayerColor(playerid, 0xDDDD2357);
        return 1;
        }
        if(strcmp(cmdtext, \"/orangered\", true) == 0){
        SetPlayerColor(playerid, 0xE9370DFC);
        return 1;
        }
        if(strcmp(cmdtext, \"/yellow\", true) == 0){
        SetPlayerColor(playerid, 0xFFFF00AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/darkgreen\", true) == 0){
        SetPlayerColor(playerid, 0x12900BBF);
        return 1;
        }
        if(strcmp(cmdtext, \"/medblue\", true) == 0){
        SetPlayerColor(playerid, 0x63AFF00A);
        return 1;
        }
        if(strcmp(cmdtext, \"/darkpurple\", true) == 0){
        SetPlayerColor(playerid, 0x800080AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightbrown\", true) == 0){
        SetPlayerColor(playerid, 0x99934EFA);
        return 1;
        }
        if(strcmp(cmdtext, \"/pink\", true) == 0){
        SetPlayerColor(playerid, 0xFF66FFAA);
        return 1;
        }
        if(strcmp(cmdtext, \"/orange\", true) == 0){
        SetPlayerColor(playerid, 0xFF9900AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/black\", true) == 0){
        SetPlayerColor(playerid, 0x00000000);
        return 1;
        }
        if(strcmp(cmdtext, \"/violet\", true) == 0){
        SetPlayerColor(playerid, 0x9955DEEE);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightcyan\", true) == 0){
        SetPlayerColor(playerid, 0xAAFFCC33);
        return 1;
        }
        if(strcmp(cmdtext, \"/red\", true) == 0){
        SetPlayerColor(playerid, 0xAA3333AA);
        return 1;
        }
        if(strcmp(cmdtext, \"/lightbluegreen\", true) == 0){
        SetPlayerColor(playerid, 0x0FFDD349);
        return 1;
        }
        if(strcmp(cmdtext, \"/gold\", true) == 0){
        SetPlayerColor(playerid, 0xDEAD4370);
        return 1;
        }
        if(strcmp(cmdtext, \"/grayblue\", true) == 0){
        SetPlayerColor(playerid, 0x456EAF67);
        return 1;
        }
        if(strcmp(cmdtext, \"/bluegreen\", true) == 0){
        SetPlayerColor(playerid, 0x46BBAA00);
        return 1;
        }
        if(strcmp(cmdtext, \"/neutralblue\", true) == 0){
        SetPlayerColor(playerid, 0xABCDEF01);
        return 1;
        }
        if(strcmp(cmdtext, \"/white\", true) == 0){
        SetPlayerColor(playerid, 0xFFFFFFAA);
           return 1;
}
 
if(strcmp(cmd, \"/jump\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1532.2787,-1357.2721,329.4535);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1532.2787,-1357.2721,329.4535);
GivePlayerWeapon(playerid, 46, 200);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/jizzy\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2626.7002,1392.7729,7.1016);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2626.7002,1392.7729,7.1016);
}
return 1;
}
 

if(strcmp(cmdtext, \"/health\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 2000)
   {
      GivePlayerMoney(playerid, -2000);
      SendClientMessage(playerid, 0xFFFF00AA, \"élet meg véve -2000$ !\");
      SetPlayerHealth(playerid, 100);
      GameTextForPlayer(playerid, \"~r~Healed!\",1900,1);
   }
   else if(GetPlayerMoney(playerid) < 2000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/armour\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3000)
   {
      GivePlayerMoney(playerid, -3000);
      SendClientMessage(playerid, 0xFFFF00AA, \"pajzs meg véve -3000$ !\");
      SetPlayerArmour(playerid, 100);
      GameTextForPlayer(playerid, \"~r~Armoured!\",1900,1);
   }
   else if(GetPlayerMoney(playerid) < 3000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3000$ kel hozzá !\");
   }
   return 1;
}
 
 
if(strcmp(cmdtext,\"/freeway\",true) == 0)
           {
          new Float:X;
          new Float:Y;
          new Float:Z;
          GetPlayerPos(playerid,X,Y,Z);
          CreateVehicle(463,X,Y+1,Z+1,5,3,0,90000);
          SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen freeway a tied!\");
          return 1;
           }
 
 
if(strcmp(cmdtext,\"/nrg\",true) == 0)
            {
        new Float:X;
        new Float:Y;
           new Float:Z;
           GetPlayerPos(playerid,X,Y,Z);
           CreateVehicle(522,X,Y+1,Z+1,5,3,0,90000);
        SendClientMessage(playerid, 0x00BFFFAA, \"SERVER: ingyen nrg a tied!\");
           return 1;
            }
 
 

if(strcmp(cmd, \"/ls-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2126.1204,-2560.5300,13.5469);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2126.1204,-2560.5300,13.5469);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/sf-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1688.5039,-196.1701,14.1484);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1688.5039,-196.1701,14.1484);
}
return 1;
}
 
 

if(strcmp(cmd, \"/lv-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1702.6162,1608.1442,10.3202);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1702.6162,1608.1442,10.3202);
}
return 1;
}
 

if(strcmp(cmd, \"/army\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,296.5106,1974.9750,17.6406);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,296.5106,1974.9750,17.6406);
}
return 1;
}
 
 

if(strcmp(cmd, \"/derby2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1199.5333,-1068.5527,129.1338);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1199.5333,-1068.5527,129.1338);
}
return 1;
}
 
 
if(strcmp(cmd, \"/derby\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2040.2617,-108.5906,35.1984);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2040.2617,-108.5906,35.1984);
}
return 1;
}
 
 

if(strcmp(cmd, \"/drift2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2510.2849,-623.0972,132.7324);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2510.2849,-623.0972,132.7324);
}
return 1;
}
 
 
if(strcmp(cmd, \"/drift\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-343.0616,1528.1173,75.3570);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-343.0616,1528.1173,75.3570);
}
return 1;
}
 
 
if(strcmp(cmd, \"/dm3\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1407.0469,1486.2013,7.1016);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1407.0469,1486.2013,7.1016);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/dm2\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,620.3115,833.7418,-42.9609);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,620.3115,833.7418,-42.9609);
}
return 1;
}
 
 
if(strcmp(cmd, \"/dm\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-536.2773,2593.6890,53.4154);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-536.2773,2593.6890,53.4154);
}
return 1;
}
 
 
if(strcmp(cmd, \"/da-air\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,397.9708,2539.6289,19.6311);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,397.9708,2539.6289,19.6311);
}
return 1;
}
 
 

if(strcmp(cmd, \"/drag\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2680.9539,1254.0300,55.6806);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2680.9539,1254.0300,55.6806);
}
return 1;
}
 

if(strcmp(cmd, \"/chilliad\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2310.7341,-1654.3699,483.6932);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2310.7341,-1654.3699,483.6932);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/lv-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2385.6577,1027.3882,10.8203);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2385.6577,1027.3882,10.8203);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/ls-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1041.7820,-1034.0206,31.8991);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1041.7820,-1034.0206,31.8991);
}
return 1;
}
 
 
 
if(strcmp(cmd, \"/sf-pimp\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2692.4758,208.7675,4.3281);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2692.4758,208.7675,4.3281);
}
return 1;
}
 
 
if(strcmp(cmd, \"/grove\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2504.8965,-1668.2948,13.3696);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2504.8965,-1668.2948,13.3696);
}
return 1;
}
 
 
if(strcmp(cmd, \"/ammu\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2136.2075,953.7546,10.7474);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2136.2075,953.7546,10.7474);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-ls\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2772.1746,-2006.9355,13.5547);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2772.1746,-2006.9355,13.5547);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-sf\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-1918.7202,282.9269,41.0469);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-1918.7202,282.9269,41.0469);
}
return 1;
}
 
 

if(strcmp(cmd, \"/tele-lv\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,2326.8254,1387.0673,42.8203);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,2326.8254,1387.0673,42.8203);
}
return 1;
}
 
 
if(strcmp(cmdtext, \"/stuntbonus\",true)==0) {
   EnableStuntBonusForPlayer(playerid, 1);
   return 1;
}
 
 
if(strcmp(cmdtext, \"/pc\",true)==0)
{
   GivePlayerWeapon(playerid, 46, 1);
   SendClientMessage(playerid, 0x00BFFFFF, \"adtal magadnak parachutet\");
   return 1;
}
 

if(strcmp(cmd, \"/me\",true)==0){
   new dir[256];
   dir = strtok(cmdtext, idx);
   strmid(\"tmp\", cmdtext, 4, strlen(cmdtext));
   if(!strlen(dir)) {
      SendClientMessage(playerid,COLOR_GREY,\"Használat: /me [szöveg]\");
      return 1;
   }
   dir = strtok(cmdtext, idx);
   GetPlayerName(playerid, sendername, sizeof(sendername));
   format(string, sizeof(string), \"***%s %s\", sendername, \"tmp\");
   SendClientMessageToAll(COLOR_WHITE,string);
   print(string);
   return 1;
}
 
if(strcmp(cmdtext, \"/sniper\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 34, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/rifle\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4150)
   {
      GivePlayerMoney(playerid, -4150);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4150$ !\");
      GivePlayerWeapon(playerid, 33, 200);
   }
   else if(GetPlayerMoney(playerid) < 4150)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4150$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/tec9\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 2500)
   {
      GivePlayerMoney(playerid, -2500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -2500$ !\");
      GivePlayerWeapon(playerid, 32, 200);
   }
   else if(GetPlayerMoney(playerid) < 2500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 2500$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/ak47\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 5500)
   {
      GivePlayerMoney(playerid, -5500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5500$ !\");
      GivePlayerWeapon(playerid, 30, 200);
   }
   else if(GetPlayerMoney(playerid) < 5500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5500$ kel hozzá !\");
   }
   return 1;
}
 
 
if(strcmp(cmdtext, \"/mp5\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 29, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
 
if(strcmp(cmdtext, \"/uzi\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3500)
   {
      GivePlayerMoney(playerid, -3500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 3500$ !\");
      GivePlayerWeapon(playerid, 28, 200);
   }
   else if(GetPlayerMoney(playerid) < 3500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/combat\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 5000)
   {
      GivePlayerMoney(playerid, -5000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -5000$ !\");
      GivePlayerWeapon(playerid, 27, 200);
   }
   else if(GetPlayerMoney(playerid) < 5000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 5000$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/sawn-off\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4500)
   {
      GivePlayerMoney(playerid, -4500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4500$ !\");
      GivePlayerWeapon(playerid, 26, 200);
   }
   else if(GetPlayerMoney(playerid) < 4500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4500$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/shotgun\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4000)
   {
      GivePlayerMoney(playerid, -4000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\");
      GivePlayerWeapon(playerid, 25, 200);
   }
   else if(GetPlayerMoney(playerid) < 4000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/silence-9mm\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 1500)
   {
      GivePlayerMoney(playerid, -1500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1500$ !\");
      GivePlayerWeapon(playerid, 23, 200);
   }
   else if(GetPlayerMoney(playerid) < 1500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1500$ kel hozzá !\");
   }
   return 1;
}
 

if(strcmp(cmdtext, \"/eagle\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 3500)
   {
      GivePlayerMoney(playerid, -3500);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -3500$ !\");
      GivePlayerWeapon(playerid, 24, 200);
   }
   else if(GetPlayerMoney(playerid) < 3500)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 3500$ kel hozzá !\");
   }
   return 1;
}
 
 
 

if(strcmp(cmdtext, \"/9mm\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 1000)
   {
      GivePlayerMoney(playerid, -1000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -1000$ !\");
      GivePlayerWeapon(playerid, 22, 200);
   }
   else if(GetPlayerMoney(playerid) < 1000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 1000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/chinsaw\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 4000)
   {
      GivePlayerMoney(playerid, -4000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -4000$ !\");
      GivePlayerWeapon(playerid, 9, 200);
   }
   else if(GetPlayerMoney(playerid) < 4000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 4000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/m4\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 6000)
                  {
      GivePlayerMoney(playerid, -6000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve -6000$ !\");
      GivePlayerWeapon(playerid, 31, 200);
   }
   else if(GetPlayerMoney(playerid) < 6000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 6000$ kel hozzá !\");
   }
   return 1;
}
 
 
 
if(strcmp(cmdtext, \"/heli\", true) == 0)
{
   new Float:X, Float:Y, Float:Z;
   GetPlayerPos(playerid, X, Y, Z);
   if(GetPlayerMoney(playerid) >= 70000)
   {
      GivePlayerMoney(playerid, -70000);
      SendClientMessage(playerid, 0xFFFF00AA, \"heli meg véve -70000$ !\");
      CreateVehicle(497, X, Y, Z + 1, 90.0, -1, -1, 1000000000);
   }
   else if(GetPlayerMoney(playerid) < 70000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 70000$ kel hozzá !\");
   }
   return 1;
}
 
if(strcmp(cmdtext, \"/flamethrower\", true) == 0)
{
   if(GetPlayerMoney(playerid) >= 20000)
   {
      GivePlayerMoney(playerid, -20000);
      SendClientMessage(playerid, 0xFFFF00AA, \"fegyver meg véve 20000$ !\");
      GivePlayerWeapon(playerid, 37, 200);
   }
   else if(GetPlayerMoney(playerid) < 20000)
   {
      SendClientMessage(playerid, 0xEB000FFF, \"Figyelem: nincs elég pénzed, 20000$ kel hozzá !\");
   }
   return 1;
}
 
       if(strcmp(cmdtext, \"/rep\",true)==0)
{
   if(IsPlayerInAnyVehicle(playerid))
   {
       SendClientMessage(playerid, COLOR_YELLOW, \"Auto: javítva !\");
      SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
   }
   else return SendClientMessage(playerid, COLOR_RED, \"SERVER: nem vagy kocsiba.\");
   return 1;
}
 
if (strcmp(cmdtext, \"/8track\",true)==0){
   SetPlayerInterior(playerid,7);
   ResetPlayerWeapons(playerid);
   SetPlayerPos(playerid,-1403.0116,-250.4526,1043.5341);
   SendClientMessage(playerid, COLOR_YELLOW, \"Welcome to 8-Track RC Circuit\");
   new name[MAX_PLAYER_NAME+1];
   GetPlayerName(playerid, name, sizeof(name));
   format(string, sizeof(string), \"%s has joined 8-Track RC Circuit, type /8track to join\", name);
   return 1;
}
 
if (strcmp(cmdtext, \"/kickstart\",true)==0){
   SetPlayerInterior(playerid,14);
   ResetPlayerWeapons(playerid);
   SetPlayerPos(playerid,-1462.9445,1562.0704,1052.7500); //);
   SendClientMessage(playerid, COLOR_YELLOW, \"***Welcome to KickStart Stadium\");
   new name[MAX_PLAYER_NAME+1];
   GetPlayerName(playerid, name, sizeof(name));
   format(string, sizeof(string), \"%s has joined KickStart Stadium, type /kickstart to join\", name);
   return 1;
}
if(strcmp(cmdtext, \"/kill\",true)==0) {
   SetPlayerHealth(playerid, 0.00);
   ResetPlayerWeapons(playerid);
   return 1;
}
if(strcmp(cmd, \"/givecash\", true) == 0) {
    new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\");
   return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
   SendClientMessage(playerid, COLOR_WHITE, \"Használat: /givecash [playerid] [öszeg]\");
   return 1;
}
   moneys = strval(tmp);
//printf(\"givecash_command: %d %d\",giveplayerid,moneys);
 
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), \"You have sent %s(player: %d), $%d.\", giveplayer,giveplayerid, moneys);
      SendClientMessage(playerid, COLOR_YELLOW, string);
      format(string, sizeof(string), \"You have recieved $%d from %s(player: %d).\", moneys, sendername, playerid);
      SendClientMessage(giveplayerid, COLOR_YELLOW, string);
      printf(\"%s(playerid:%d) has transfered %d to %s(playerid:%d)\",sendername, playerid, moneys, giveplayer, giveplayerid);
   }
   else {
      SendClientMessage(playerid, COLOR_YELLOW, \"Invalid transaction amount.\");
   }
}
else {
      format(string, sizeof(string), \"%d is not an active player.\", giveplayerid);
      SendClientMessage(playerid, COLOR_YELLOW, string);
   }
return 1;
}
// PROCESS OTHER COMMANDS
 
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]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
    }
    else if (iSpawnSet[playerid] == 0)
    {
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
}
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
    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 OnPlayerDeath(playerid, killerid, reason)
{   haxed by teh mike
new name[MAX_PLAYER_NAME];
new string[256];
new deathreason[20];
new playercash;
GetPlayerName(playerid, name, sizeof(name));
GetWeaponName(reason, deathreason, 20);
if (killerid == INVALID_PLAYER_ID) {
    switch (reason) {
   case WEAPON_DROWN:
   {
                format(string, sizeof(string), \"*** %s drowned.)\", name);
   }
   default:
   {
       if (strlen(deathreason) > 0) {
         format(string, sizeof(string), \"*** %s died. (%s)\", name, deathreason);
      } else {
          format(string, sizeof(string), \"*** %s died.\", name);
      }
   }
}
}
else {
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
if (strlen(deathreason) > 0) {
format(string, sizeof(string), \"*** %s killed %s. (%s)\", killer, name, deathreason);
} else {
      format(string, sizeof(string), \"*** %s killed %s.\", killer, name);
   }
}
SendClientMessageToAll(COLOR_RED, string);
{
playercash = GetPlayerMoney(playerid);
if (playercash > 0)
{
   GivePlayerMoney(killerid, playercash);
   ResetPlayerMoney(playerid);
}
else
{
}
}
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 GameModeExitFunc()
{
GameModeExit();
}
public OnGameModeInit()
{
CreateDynamicObject(1655, 1476.9000244141, 1826.5999755859, 10.60000038147, 0, 0, 2);
CreateDynamicObject(1655, 1479.4000244141, 1830.5, 57.5, 130, 13, 1.99951171875);
CreateDynamicObject(1655, 1478, 1839.0999755859, 48.5, 100, 10, 1.99951171875);
CreateDynamicObject(1655, 1476.8000488281, 1843.1999511719, 33.099998474121, 60, 6, 1.99951171875);
CreateDynamicObject(1655, 1477, 1843.0999755859, 38.200000762939, 80, 8, 1.99951171875);
CreateDynamicObject(1655, 1476.5999755859, 1840.1999511719, 23.39999961853, 40, 4, 1.99951171875);
CreateDynamicObject(1655, 1476.6999511719, 1834.1999511719, 15.60000038147, 20, 2, 1.99951171875);
CreateDynamicObject(1655, 1476.8000488281, 1830.5999755859, 12.699999809265, 10, 1, 1.99951171875);
CreateDynamicObject(1655, 1476.5999755859, 1837.5, 19.200000762939, 30, 3, 1.99951171875);
CreateDynamicObject(1655, 1476.6999511719, 1842.0999755859, 28.10000038147, 50, 5, 1.99951171875);
CreateDynamicObject(1655, 1477.4000244141, 1841.6999511719, 43.299999237061, 90, 9, 1.99951171875);
CreateDynamicObject(1655, 1478.5999755859, 1835.4000244141, 53.5, 110, 11, 1.99951171875);
CreateDynamicObject(1655, 1481.6999511719, 1812.5999755859, 61.099998474121, 175, 17, 1.99951171875);
CreateDynamicObject(1655, 1481.0999755859, 1816.8000488281, 61.599998474121, 160, 16, 1.99951171875);
CreateDynamicObject(1655, 1484.8000488281, 1796.5, 47.799999237061, 220, 22, 1.99951171875);
CreateDynamicObject(1655, 1482.6999511719, 1806.0999755859, 58.099998474121, 190, 19, 1.99951171875);
CreateDynamicObject(1655, 1483.8000488281, 1800.9000244141, 53.900001525879, 205, 20, 1.99951171875);
CreateDynamicObject(1655, 1490.5, 1804.4000244141, 14.800000190735, 320, 20, 1.99951171875);
CreateDynamicObject(1655, 1480.3000488281, 1823.9000244141, 60.400001525879, 140, 14, 1.99951171875);
CreateDynamicObject(1655, 1488.1999511719, 1793.8000488281, 27.299999237061, 265, 26, 1.99951171875);
CreateDynamicObject(1655, 1490.5, 1810.5999755859, 12.89999961853, 330, 10, 1.99951171875);
CreateDynamicObject(1655, 1489.6999511719, 1799.4000244141, 18.39999961853, 295, 29, 1.99951171875);
CreateDynamicObject(1655, 1488.9000244141, 1795.5, 23.200000762939, 280, 28, 1.99951171875);
CreateDynamicObject(1655, 1490.3000488281, 1801.5999755859, 16.39999961853, 305, 30, 1.99951171875);
CreateDynamicObject(1655, 1485.9000244141, 1794, 41.799999237061, 235, 23, 1.99951171875);
CreateDynamicObject(1655, 1487, 1793, 34, 250, 25, 1.99951171875);
CreateDynamicObject(8171, 1528.8000488281, 1883.8000488281, 116, 30, 0, 0);
CreateDynamicObject(8171, 1528.9000244141, 1991.5999755859, 178.30000305176, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.8000488281, 2107.6999511719, 245.30000305176, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.8000488281, 2212.1999511719, 305.60000610352, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.5999755859, 2324.1000976563, 370.29998779297, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.6999511719, 2440.1000976563, 437.29998779297, 29.998168945313, 0, 0);
CreateDynamicObject(8171, 1528.6999511719, 2555.3999023438, 503.89999389648, 29.998168945313, 0, 0);
CreateDynamicObject(1655, 1513.4000244141, 1827.8000488281, 84.800003051758, 330, 0, 180);
CreateDynamicObject(1655, 1521.3000488281, 1827.5999755859, 84.699996948242, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1530, 1827.6999511719, 84.699996948242, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1538.6999511719, 1827.5, 84.599998474121, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(1655, 1544.5, 1827.1999511719, 84.5, 329.99633789063, 0, 179.99450683594);
CreateDynamicObject(3816, 1529.5999755859, 2643.1999511719, 547.09997558594, 0, 0, 0);
CreateDynamicObject(7981, 1549.4000244141, 2663.8000488281, 543.59997558594, 0, 0, 0);
CreateDynamicObject(11393, 1552.8000488281, 2625.6999511719, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1553, 2636.3000488281, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1553.5999755859, 2647.1000976563, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11393, 1552, 2657.3999023438, 540.40002441406, 0, 0, 0);
CreateDynamicObject(11393, 1531.1999511719, 2669, 540.09997558594, 0, 0, 0);
CreateDynamicObject(11480, 1505.5999755859, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1513, 2668.3000488281, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1520.4000244141, 2668.3000488281, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1527.9000244141, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11480, 1535.1999511719, 2668.3999023438, 540.79998779297, 0, 0, 0);
CreateDynamicObject(11505, 1509.9000244141, 2620.8999023438, 543, 0, 0, 0);
CreateDynamicObject(14796, 1502.9000244141, 2620.1999511719, 542.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.0999755859, 2620.8999023438, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.8000488281, 2632.3999023438, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.5, 2643.1000976563, 539.29998779297, 0, 0, 0);
CreateDynamicObject(14826, 1551.1999511719, 2653.3000488281, 539.29998779297, 0, 0, 0);
CreateDynamicObject(6976, 1503, 2651.6000976563, 538.59997558594, 0, 0, 90);
CreateDynamicObject(991, 1518.3000488281, 2618, 539.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 539.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 539.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 539.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1518.3000488281, 2618, 541.90002441406, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 541.79998779297, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 541.79998779297, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 542.09997558594, 0, 0, 0);
CreateDynamicObject(991, 1518.3000488281, 2618, 544, 0, 0, 270);
CreateDynamicObject(991, 1518.3000488281, 2622.8000488281, 544.09997558594, 0, 0, 270);
CreateDynamicObject(991, 1515, 2626.1000976563, 544.20001220703, 0, 0, 0);
CreateDynamicObject(991, 1505.3000488281, 2626.1000976563, 544.09997558594, 0, 0, 0);
CreateDynamicObject(991, 1510.1999511719, 2626.1000976563, 544.20001220703, 0, 0, 0);
CreateDynamicObject(1422, 1531.5999755859, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1528.9000244141, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1526.1999511719, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1523.5, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1534.3000488281, 2638.3999023438, 539, 0, 0, 0);
CreateDynamicObject(1422, 1535.5999755859, 2647.8000488281, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2645.1000976563, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2642.3999023438, 539, 0, 0, 90);
CreateDynamicObject(1422, 1535.5999755859, 2639.6999511719, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2645.1000976563, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2642.3999023438, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2639.6999511719, 539, 0, 0, 90);
CreateDynamicObject(1422, 1522.3000488281, 2647.8000488281, 539, 0, 0, 90);
CreateDynamicObject(1422, 1528.9000244141, 2645, 539, 0, 0, 0);
CreateDynamicObject(8171, 1560.8000488281, 2548.3000488281, 516.79998779297, 29.998168945313, 310, 0);
CreateDynamicObject(8171, 1560.6999511719, 2432.1000976563, 449.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1561.0999755859, 2317.8000488281, 383.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.8000488281, 2203.8000488281, 318.29998779297, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.8000488281, 2087.6000976563, 251.39999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.6999511719, 1970.5, 183.89999389648, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1560.5, 1883.3000488281, 133.10000610352, 29.99267578125, 309.99572753906, 0);
CreateDynamicObject(8171, 1497.4000244141, 2548.6999511719, 516.40002441406, 29.998168945313, 50, 0);
CreateDynamicObject(8171, 1497, 2436.3000488281, 451.70001220703, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.5999755859, 2326.3999023438, 388.5, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.6999511719, 2217.1999511719, 325.60000610352, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.6999511719, 2103.3999023438, 259.89999389648, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.9000244141, 1992.3000488281, 196.19999694824, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(8171, 1496.8000488281, 1886.0999755859, 134.69999694824, 29.99267578125, 49.998779296875, 0);
CreateDynamicObject(1655, 1513.4000244141, 1824, 84.599998474121, 340, 0, 179.99450683594);
CreateDynamicObject(1655, 1521.5, 1823.8000488281, 84.599998474121, 340, 0, 179.99450683594);
CreateDynamicObject(1655, 1530.1999511719, 1823.9000244141, 84.599998474121, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(1655, 1538.9000244141, 1823.6999511719, 84.599998474121, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(1655, 1544.5999755859, 1823.4000244141, 84.400001525879, 339.99938964844, 0, 179.99450683594);
CreateDynamicObject(16088, -1453, -1296.0999755859, 99.699996948242, 0, 0, 30);
CreateDynamicObject(10281, -1454.0999755859, -1297.0999755859, 107.09999847412, 10, 0, 300);
CreateDynamicObject(3534, -1452.9000244141, -1283.9000244141, 101.59999847412, 0, 0, 0);
CreateDynamicObject(3534, -1452.5, -1277.8000488281, 102.5, 0, 0, 0);
CreateDynamicObject(3534, -1451.6999511719, -1272.3000488281, 103.5, 0, 0, 0);
CreateDynamicObject(3534, -1443.9000244141, -1290.8000488281, 102.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1443.6999511719, -1283.1999511719, 103.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1444.6999511719, -1298.5, 101.5, 0, 0, 0);
CreateDynamicObject(3534, -1443.0999755859, -1276.9000244141, 104.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1442.5999755859, -1271, 105.5, 0, 0, 0);
CreateDynamicObject(3534, -1450.5999755859, -1265.6999511719, 104.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1441.5999755859, -1264.0999755859, 106.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1449.1999511719, -1258.6999511719, 106.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1440.8000488281, -1256.4000244141, 107.90000152588, 0, 0, 0);
CreateDynamicObject(3534, -1447.5, -1250.6999511719, 107.5, 0, 0, 0);
CreateDynamicObject(3534, -1438.5, -1244.0999755859, 107.5, 0, 0, 0);
CreateDynamicObject(3534, -1445.1999511719, -1239.3000488281, 107.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1435.6999511719, -1229.5999755859, 106.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1441.6999511719, -1223.9000244141, 106.5, 0, 0, 0);
CreateDynamicObject(3534, -1432.6999511719, -1217.0999755859, 106.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1439.5999755859, -1213.0999755859, 106.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1433.0999755859, -1203, 105.90000152588, 0, 0, 0);
CreateDynamicObject(3534, -1441.3000488281, -1201.0999755859, 106, 0, 0, 0);
CreateDynamicObject(3534, -1436.5999755859, -1182.3000488281, 105.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1445, -1183.0999755859, 105.80000305176, 0, 0, 0);
CreateDynamicObject(3534, -1445.5, -1161.1999511719, 106.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1448.5999755859, -1173.4000244141, 105.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1454.6999511719, -1167.0999755859, 108.30000305176, 0, 0, 0);
CreateDynamicObject(3534, -1451.0999755859, -1152.4000244141, 109.5, 0, 0, 0);
CreateDynamicObject(3534, -1458.5, -1146, 112.69999694824, 0, 0, 0);
CreateDynamicObject(3534, -1459.5999755859, -1161.9000244141, 110.59999847412, 0, 0, 0);
CreateDynamicObject(3534, -1467.1999511719, -1155, 114.09999847412, 0, 0, 0);
CreateDynamicObject(3534, -1463.5999755859, -1140.3000488281, 115.19999694824, 0, 0, 0);
CreateDynamicObject(3534, -1470.6999511719, -1132.4000244141, 118.69999694824, 0, 0, 0);
« Utoljára szerkesztve: 2012. február 25. - 16:27:38 írta <[Lu$ta]> »

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #5 Dátum: 2012. február 25. - 16:30:25 »
0 Show voters
Javítottam!
Mellesleg azért nem tudtad bemásolni az egész módot mert túl sok a karakterek száma.
Most hirtelen nem tudom mennyi karakter van engedélyezve.
De ha feltöltenéd valahova egyszerûbb  volna

Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #6 Dátum: 2012. február 25. - 17:03:58 »
0 Show voters
vagy ha a hibákat írni ide h mire mutat, akk tudnánk segíteni h mi a bibi :D

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #7 Dátum: 2012. február 25. - 17:06:46 »
0 Show voters
Idézetet írta: norbee0170 date=1330185838\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17503\" data-ipsquote-contentclass=\"forums_Topic
vagy ha a hibákat írni ide h mire mutat, akk tudnánk segíteni h mi a bibi :D
 
Tess: de ezt abba a témába is lehetett volna írni
http://sampforum.hu/index.php?topic=21627.0
De mondtam küld el pü-be a módot és megnéztem volna
de tuti nincs bent a streamer inc /legalábbis a legújabb

Valaki ezt beleteszi nekem a modba mert a pawno-m nem irja meg csak error al!
« Válasz #8 Dátum: 2012. február 25. - 17:11:15 »
0 Show voters

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal