Szerző Téma: a PAWNO mert nem menti el a mapot  (Megtekintve 3280 alkalommal)

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
a PAWNO mert nem menti el a mapot
« Válasz #15 Dátum: 2012. február 25. - 13:12:13 »
0 Show voters
Esetleg küld el pü-ben a módot ,megnézem
De ha nem akarod nem kell

a PAWNO mert nem menti el a mapot
« Válasz #16 Dátum: 2012. február 25. - 17:12:27 »
0 Show voters
[pawn][/pawn]#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);
CreateDynamicObject(3534, -1480.5999755859, -1122.5999755859, 122.90000152588, 0, 0, 0);
CreateDynamicObject(3534, -1473, <

a PAWNO mert nem menti el a mapot
« Válasz #17 Dátum: 2012. február 25. - 17:23:31 »
0 Show voters
omg  :thumbsup:
a [/pawn]a végére kell xD
de ha bemásolnád h mi a hiba benne ..

a PAWNO mert nem menti el a mapot
« Válasz #18 Dátum: 2012. február 25. - 17:27:51 »
0 Show voters
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(274) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(296) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(318) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(340) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(362) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(384) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(406) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(433) : warning 202: number of arguments does not match definition
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(434) : error 017: undefined symbol \"CreatePlayer3DTextLabel\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(436) : error 017: undefined symbol \"DeletePlayer3DTextLabel\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP-SERVER\\pawno\\include\\streamer.inc(454) : error 017: undefined symbol \"UpdatePlayer3DTextLabelText\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
10 Errors.
tessék de miert nem menti el a pawno rendesen eddig oroke jol error nelkul elmentetteeee

Penzykee.

  • Vendég
a PAWNO mert nem menti el a mapot
« Válasz #19 Dátum: 2012. február 25. - 17:29:27 »
0 Show voters
sztem te hagyd a szerver csinálást.!

a PAWNO mert nem menti el a mapot
« Válasz #20 Dátum: 2012. február 25. - 17:40:49 »
0 Show voters
http://sampforum.hu/index.php?topic=21653.0
itt a link a modrol mas nekem megcsinalta belerakta csak most a mod al valami olyan baj van hogy nem kar menni a szerver

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
a PAWNO mert nem menti el a mapot
« Válasz #21 Dátum: 2012. február 25. - 17:42:48 »
0 Show voters
Idézetet írta: FastFurious date=1330188049\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17486\" data-ipsquote-contentclass=\"forums_Topic
http://sampforum.hu/index.php?topic=21653.0
itt a link a modrol mas nekem megcsinalta belerakta csak most a mod al valami olyan baj van hogy nem kar menni a szerver
 
Nálam nem jelez hibát
\"width=500http://kepfeltoltes.hu/120225/777_www.kepfeltoltes.hu_.jpg[/img]

a PAWNO mert nem menti el a mapot
« Válasz #22 Dátum: 2012. február 25. - 18:15:32 »
0 Show voters
de bazd nekem nezd meg mi az a szar mutatom
\"aaa.png\"

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
a PAWNO mert nem menti el a mapot
« Válasz #23 Dátum: 2012. február 25. - 18:35:32 »
0 Show voters
Nem tudom hányszor írjam le , be kell rakni a a legújabb streamer inc-t a pawno include mappába
Ennél jobban nem tudom elmondani

a PAWNO mert nem menti el a mapot
« Válasz #24 Dátum: 2012. február 25. - 18:39:57 »
0 Show voters
en erteeeeeeem de link?????

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
a PAWNO mert nem menti el a mapot
« Válasz #25 Dátum: 2012. február 25. - 18:47:35 »
0 Show voters
>\" post=\"229670\" timestamp=\"1330168071\"]
/*
    SA-MP Streamer Plugin v2.6
    Copyright © 2011 Incognito
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#include <a_samp>
// Definitions
#define STREAMER_TYPE_OBJECT (0)
#define STREAMER_TYPE_PICKUP (1)
#define STREAMER_TYPE_CP (2)
#define STREAMER_TYPE_RACE_CP (3)
#define STREAMER_TYPE_MAP_ICON (4)
#define STREAMER_TYPE_3D_TEXT_LABEL (5)
#define STREAMER_TYPE_AREA (6)
#define STREAMER_AREA_TYPE_CIRCLE (0)
#define STREAMER_AREA_TYPE_RECTANGLE (1)
#define STREAMER_AREA_TYPE_SPHERE (2)
#define STREAMER_AREA_TYPE_CUBE (3)
#define STREAMER_AREA_TYPE_POLYGON (4)
#if !defined FLOAT_INFINITY
    #define FLOAT_INFINITY (Float:0x7F800000)
#endif
// Enumerator
enum
{
E_STREAMER_ATTACHED_PLAYER,
E_STREAMER_ATTACHED_VEHICLE,
E_STREAMER_COLOR,
E_STREAMER_DRAW_DISTANCE,
E_STREAMER_EXTRA_ID,
E_STREAMER_INTERIOR_ID,
E_STREAMER_MAX_X,
E_STREAMER_MAX_Y,
E_STREAMER_MAX_Z,
E_STREAMER_MIN_X,
E_STREAMER_MIN_Y,
E_STREAMER_MIN_Z,
E_STREAMER_MODEL_ID,
E_STREAMER_MOVE_R_X,
E_STREAMER_MOVE_R_Y,
E_STREAMER_MOVE_R_Z,
E_STREAMER_MOVE_SPEED,
E_STREAMER_MOVE_X,
E_STREAMER_MOVE_Y,
E_STREAMER_MOVE_Z,
E_STREAMER_NEXT_X,
E_STREAMER_NEXT_Y,
E_STREAMER_NEXT_Z,
E_STREAMER_PLAYER_ID,
E_STREAMER_R_X,
E_STREAMER_R_Y,
E_STREAMER_R_Z,
E_STREAMER_SIZE,
E_STREAMER_STREAM_DISTANCE,
E_STREAMER_STYLE,
E_STREAMER_TEST_LOS,
E_STREAMER_TYPE,
E_STREAMER_WORLD_ID,
E_STREAMER_X,
E_STREAMER_Y,
E_STREAMER_Z
}
// Setting Natives
native Streamer_TickRate(rate);
native Streamer_MaxItems(type, items);
native Streamer_VisibleItems(type, items);
native Streamer_CellDistance(Float:distance);
native Streamer_CellSize(Float:size);
// Update Natives
native Streamer_Update(playerid);
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
native Streamer_ToggleIdleUpdate(playerid, toggle);
// Data Manipulation Natives
native Streamer_GetFloatData(type, {Text3D,_}:id, data, &Float:result);
native Streamer_SetFloatData(type, {Text3D,_}:id, data, Float:value);
native Streamer_GetIntData(type, {Text3D,_}:id, data);
native Streamer_SetIntData(type, {Text3D,_}:id, data, value);
native Streamer_IsInArrayData(type, {Text3D,_}:id, data, value);
native Streamer_AppendArrayData(type, {Text3D,_}:id, data, value);
native Streamer_RemoveArrayData(type, {Text3D,_}:id, data, value);
native Streamer_GetUpperBound(type);
// Miscellaneous Natives
native Streamer_IsItemVisible(playerid, type, {Text3D,_}:id);
native Streamer_DestroyAllVisibleItems(playerid, type);
native Streamer_CountVisibleItems(playerid, type);
// Object Natives
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);
native DestroyDynamicObject(objectid);
native IsValidDynamicObject(objectid);
native SetDynamicObjectPos(objectid, Float:x, Float:y, Float:z);
native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z);
native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz);
native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rX = -1000.0, Float:rY = -1000.0, Float:rZ = -1000.0);
native StopDynamicObject(objectid);
native IsDynamicObjectMoving(objectid);
native DestroyAllDynamicObjects();
native CountDynamicObjects();
// Pickup Natives
native CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamicPickup(pickupid);
native IsValidDynamicPickup(pickupid);
native DestroyAllDynamicPickups();
native CountDynamicPickups();
// Checkpoint Natives
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamicCP(checkpointid);
native IsValidDynamicCP(checkpointid);
native TogglePlayerDynamicCP(playerid, checkpointid, toggle);
native TogglePlayerAllDynamicCPs(playerid, toggle);
native IsPlayerInDynamicCP(playerid, checkpointid);
native DestroyAllDynamicCPs();
native CountDynamicCPs();
// Race Checkpoint Natives
native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamicRaceCP(checkpointid);
native IsValidDynamicRaceCP(checkpointid);
native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle);
native TogglePlayerAllDynamicRaceCPs(playerid, toggle);
native IsPlayerInDynamicRaceCP(playerid, checkpointid);
native DestroyAllDynamicRaceCPs();
native CountDynamicRaceCPs();
// Map Icon Natives
native CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamicMapIcon(iconid);
native IsValidDynamicMapIcon(iconid);
native DestroyAllDynamicMapIcons();
native CountDynamicMapIcons();
// 3D Text Label Natives
native Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamic3DTextLabel(Text3D:id);
native IsValidDynamic3DTextLabel(Text3D:id);
native UpdateDynamic3DTextLabelText(Text3D:id, color, const text[]);
native DestroyAllDynamic3DTextLabels();
native CountDynamic3DTextLabels();
// Area Natives
native CreateDynamicCircle(Float:x, Float:y, Float:size, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicSphere(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicCube(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worldid = -1, interiorid = -1, playerid = -1);
native CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worldid = -1, interiorid = -1, playerid = -1);
native DestroyDynamicArea(areaid);
native IsValidDynamicArea(areaid);
native TogglePlayerDynamicArea(playerid, areaid, toggle);
native TogglePlayerAllDynamicAreas(playerid, toggle);
native IsPlayerInDynamicArea(playerid, areaid);
native IsPlayerInAnyDynamicArea(playerid);
native AttachDynamicAreaToPlayer(areaid, playerid);
native AttachDynamicAreaToVehicle(areaid, vehicleid);
native DestroyAllDynamicAreas();
native CountDynamicAreas();
// Extended Natives
native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicPickupEx(modelid, type, Float:x, Float:y, Float:z, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicCPEx(Float:x, Float:y, Float:z, Float:size, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicRaceCPEx(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicMapIconEx(Float:x, Float:y, Float:z, type, color, style = MAPICON_LOCAL, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native Text3D:CreateDynamic3DTextLabelEx(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicCircleEx(Float:x, Float:y, Float:size, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicRectangleEx(Float:minx, Float:miny, Float:maxx, Float:maxy, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicSphereEx(Float:x, Float:y, Float:z, Float:size, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicCubeEx(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
native CreateDynamicPolygonEx(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
// Internal Natives
native Streamer_CallbackHook(callback, ...);
// Callbacks
forward OnDynamicObjectMoved(objectid);
forward OnPlayerPickUpDynamicPickup(playerid, pickupid);
forward OnPlayerEnterDynamicCP(playerid, checkpointid);
forward OnPlayerLeaveDynamicCP(playerid, checkpointid);
forward OnPlayerEnterDynamicRaceCP(playerid, checkpointid);
forward OnPlayerLeaveDynamicRaceCP(playerid, checkpointid);
forward OnPlayerEnterDynamicArea(playerid, areaid);
forward OnPlayerLeaveDynamicArea(playerid, areaid);
// Callback Hook Section
#define STREAMER_OPC (0)
#define STREAMER_OPDC (1)
#define STREAMER_OPPP (2)
#define STREAMER_OPEC (3)
#define STREAMER_OPLC (4)
#define STREAMER_OPERC (5)
#define STREAMER_OPLRC (6)
static bool:Streamer_g_OPC = false;
static bool:Streamer_g_OPDC = false;
static bool:Streamer_g_OPPP = false;
static bool:Streamer_g_OPEC = false;
static bool:Streamer_g_OPLC = false;
static bool:Streamer_g_OPERC = false;
static bool:Streamer_g_OPLRC = false;
public OnFilterScriptInit()
{
Streamer_g_OPC = funcidx(\"Streamer_OnPlayerConnect\") != -1;
Streamer_g_OPDC = funcidx(\"Streamer_OnPlayerDisconnect\") != -1;
Streamer_g_OPPP = funcidx(\"Streamer_OnPlayerPickUpPickup\") != -1;
Streamer_g_OPEC = funcidx(\"Streamer_OnPlayerEnterCP\") != -1;
Streamer_g_OPLC = funcidx(\"Streamer_OnPlayerLeaveCP\") != -1;
Streamer_g_OPERC = funcidx(\"Streamer_OnPlayerEnterRaceCP\") != -1;
Streamer_g_OPLRC = funcidx(\"Streamer_OnPlayerLeaveRaceCP\") != -1;
if (funcidx(\"Streamer_OnFilterScriptInit\") != -1)
{
return CallLocalFunction(\"Streamer_OnFilterScriptInit\", \"\");
}
return 1;
}
#if defined _ALS_OnFilterScriptInit
#undef OnFilterScriptInit
#else
#define _ALS_OnFilterScriptInit
#endif
#define OnFilterScriptInit Streamer_OnFilterScriptInit
forward Streamer_OnFilterScriptInit();
public OnGameModeInit()
{
Streamer_g_OPC = funcidx(\"Streamer_OnPlayerConnect\") != -1;
Streamer_g_OPDC = funcidx(\"Streamer_OnPlayerDisconnect\") != -1;
Streamer_g_OPPP = funcidx(\"Streamer_OnPlayerPickUpPickup\") != -1;
Streamer_g_OPEC = funcidx(\"Streamer_OnPlayerEnterCP\") != -1;
Streamer_g_OPLC = funcidx(\"Streamer_OnPlayerLeaveCP\") != -1;
Streamer_g_OPERC = funcidx(\"Streamer_OnPlayerEnterRaceCP\") != -1;
Streamer_g_OPLRC = funcidx(\"Streamer_OnPlayerLeaveRaceCP\") != -1;
if (funcidx(\"Streamer_OnGameModeInit\") != -1)
{
return CallLocalFunction(\"Streamer_OnGameModeInit\", \"\");
}
return 1;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit Streamer_OnGameModeInit
forward Streamer_OnGameModeInit();
public OnPlayerConnect(playerid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPC, playerid);
}
if (Streamer_g_OPC)
{
return CallLocalFunction(\"Streamer_OnPlayerConnect\", \"d\", playerid);
}
return 1;
}
#if defined _ALS_OnPlayerConnect
#undef OnPlayerConnect
#else
#define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect Streamer_OnPlayerConnect
forward Streamer_OnPlayerConnect(playerid);
public OnPlayerDisconnect(playerid, reason)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPDC, playerid, reason);
}
if (Streamer_g_OPDC)
{
return CallLocalFunction(\"Streamer_OnPlayerDisconnect\", \"dd\", playerid, reason);
}
return 1;
}
#if defined _ALS_OnPlayerDisconnect
#undef OnPlayerDisconnect
#else
#define _ALS_OnPlayerDisconnect
#endif
#define OnPlayerDisconnect Streamer_OnPlayerDisconnect
forward Streamer_OnPlayerDisconnect(playerid, reason);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPPP, playerid, pickupid);
}
if (Streamer_g_OPPP)
{
return CallLocalFunction(\"Streamer_OnPlayerPickUpPickup\", \"dd\", playerid, pickupid);
}
return 1;
}
#if defined _ALS_OnPlayerPickUpPickup
#undef OnPlayerPickUpPickup
#else
#define _ALS_OnPlayerPickUpPickup
#endif
#define OnPlayerPickUpPickup Streamer_OnPlayerPickUpPickup
forward Streamer_OnPlayerPickUpPickup(playerid, pickupid);
public OnPlayerEnterCheckpoint(playerid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPEC, playerid);
}
if (Streamer_g_OPEC)
{
return CallLocalFunction(\"Streamer_OnPlayerEnterCP\", \"d\", playerid);
}
return 1;
}
#if defined _ALS_OnPlayerEnterCheckpoint
#undef OnPlayerEnterCheckpoint
#else
#define _ALS_OnPlayerEnterCheckpoint
#endif
#define OnPlayerEnterCheckpoint Streamer_OnPlayerEnterCP
forward Streamer_OnPlayerEnterCP(playerid);
public OnPlayerLeaveCheckpoint(playerid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPLC, playerid);
}
if (Streamer_g_OPLC)
{
return CallLocalFunction(\"Streamer_OnPlayerLeaveCP\", \"d\", playerid);
}
return 1;
}
#if defined _ALS_OnPlayerLeaveCheckpoint
#undef OnPlayerLeaveCheckpoint
#else
#define _ALS_OnPlayerLeaveCheckpoint
#endif
#define OnPlayerLeaveCheckpoint Streamer_OnPlayerLeaveCP
forward Streamer_OnPlayerLeaveCP(playerid);
public OnPlayerEnterRaceCheckpoint(playerid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPERC, playerid);
}
if (Streamer_g_OPERC)
{
return CallLocalFunction(\"Streamer_OnPlayerEnterRaceCP\", \"d\", playerid);
}
return 1;
}
#if defined _ALS_OnPlayerEnterRaceCP
#undef OnPlayerEnterRaceCheckpoint
#else
#define _ALS_OnPlayerEnterRaceCP
#endif
#define OnPlayerEnterRaceCheckpoint Streamer_OnPlayerEnterRaceCP
forward Streamer_OnPlayerEnterRaceCP(playerid);
public OnPlayerLeaveRaceCheckpoint(playerid)
{
if (!IsPlayerNPC(playerid))
{
Streamer_CallbackHook(STREAMER_OPLRC, playerid);
}
if (Streamer_g_OPLRC)
{
return CallLocalFunction(\"Streamer_OnPlayerLeaveRaceCP\", \"d\", playerid);
}
return 1;
}
#if defined _ALS_OnPlayerLeaveRaceCP
#undef OnPlayerLeaveRaceCheckpoint
#else
#define _ALS_OnPlayerLeaveRaceCP
#endif
#define OnPlayerLeaveRaceCheckpoint Streamer_OnPlayerLeaveRaceCP
forward Streamer_OnPlayerLeaveRaceCP(playerid);

 

[/quote]
Ami kódba van belemásolod egy szöveges dokumentumba és mentés másként  streamer.inc néven
Vagy letöltöd innen : http://solidfiles.com/d/f6f5e06bcc/
és berakod a pawno --> include mappába

a PAWNO mert nem menti el a mapot
« Válasz #26 Dátum: 2012. február 25. - 18:56:39 »
0 Show voters
na ez valamivel jobb mert ez csak 7 error-t csinal irom az error-t
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(293) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(315) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(337) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(359) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(381) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(403) : error 017: undefined symbol \"IsPlayerNPC\"
C:\\Users\\Tihamer\\Desktop\\azta szerom neee\\SAMP-SERVER\\pawno\\include\\streamer.inc(425) : error 017: undefined symbol \"IsPlayerNPC\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
7 Errors.
 :\'(

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
a PAWNO mert nem menti el a mapot
« Válasz #27 Dátum: 2012. február 25. - 19:32:12 »
0 Show voters
Töröld le az egész samp03dsvr_R2_win32  pakkot  a gépedrõl
És ezt töltsd le ebbe benne van
http://solidfiles.com/d/3133cadcd6/

a PAWNO mert nem menti el a mapot
« Válasz #28 Dátum: 2012. február 25. - 19:37:52 »
0 Show voters
De király kosz  ;D :D ;) :) :hihi: ez nagyon jo   :thumbsup: :thumbsup: :thumbsup: ezt hasznalom jeeeeeeeeee :hihi: zárom !!!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal