Szerző Téma: Ezekre mi a megoldás?  (Megtekintve 1218 alkalommal)

Ezekre mi a megoldás?
« Dátum: 2012. augusztus 17. - 15:09:15 »
0 Show voters
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(362) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(363) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(364) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(365) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(366) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(414) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(990) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(991) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(992) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(993) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(994) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1058) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1059) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1060) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1061) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1062) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1066) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1225) : warning 204: symbol is assigned a value that is never used: \"iName\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1225) : warning 204: symbol is assigned a value that is never used: \"res22\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1453) : warning 215: expression has no effect
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1481) : warning 202: number of arguments does not match definition
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1785) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1776) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1936) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(1953) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2009) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2023) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2150) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2145) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2168) : warning 219: local variable \"str\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2165) : warning 204: symbol is assigned a value that is never used: \"string\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(2978) : warning 204: symbol is assigned a value that is never used: \"file\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"engine\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"lights\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"alarm\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"doors\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"bonnet\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"boot\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3243) : warning 219: local variable \"objective\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"engine\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"lights\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"alarm\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"doors\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"bonnet\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"boot\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3254) : warning 219: local variable \"objective\" shadows a variable at a preceding level
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(4952) : warning 235: public function lacks forward declaration (symbol \"CarColor\")
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3585) : warning 204: symbol is assigned a value that is never used: \"GoldpotActive\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3585 -- 5154) : warning 203: symbol is never used: \"Query\"
E:\\Documents and Settings\\Davee\\Asztal\\nExtDark Stunting\\gamemodes\\NDARK.pwn(3585 -- 5154) : warning 203: symbol is never used: \"gTeam\"
Pawn compiler 3.2.3664           Copyright © 1997-2006, ITB CompuPhase
Header size:           7476 bytes
Code size:           329672 bytes
Data size:          2844924 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5095 cells (20380 bytes)
Total requirements: 3198456 bytes
50 Warnings.

Nem elérhető Amf

  • 1459
    • Profil megtekintése
Ezekre mi a megoldás?
« Válasz #1 Dátum: 2012. augusztus 17. - 15:25:49 »
0 Show voters
number of arguments does not match definition
Több/kevesebb argumentum van mint kéne/lehetne
Példa: SendClientMessage(playerid, \"Teszt\"); - Kimaradt a szín, ezért kapunk egy ilyen warningot.
symbol is assigned a value that is never used
Létrehozod de soha nem használod, nyugodtan töröld.
local variable \" \" shadows a variable at a preceding level
Ez valahol már létre van hozva vagy ugyan ott, vagy globális változóként.
public function lacks forward declaration
Nincs \"forward-olva\" a public funkció.
Header size:           7476 bytes

Code size:           329672 bytes


Data size:          2844924 bytes


Stack/heap size:      16384 bytes; estimated max. usage=5095 cells (20380 bytes)


Total requirements: 3198456 bytes

Ebben nem vagy biztos de azt hiszem, hogy létre van hozva egy változó ami nagyobb mint a megengedett, és ezért írja ki ezt is.  :whistle:
Remélem segítettem! :)

Ezekre mi a megoldás?
« Válasz #2 Dátum: 2012. augusztus 17. - 15:38:45 »
0 Show voters
Idézetet írta: Amf date=1345209949\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"26352\" data-ipsquote-contentclass=\"forums_Topic
number of arguments does not match definition
Több/kevesebb argumentum van mint kéne/lehetne
Példa: SendClientMessage(playerid, \"Teszt\"); - Kimaradt a szín, ezért kapunk egy ilyen warningot.
 
:
format(PnDark[playerid][VIPRank], 65, \"<%s>\", dini_Set(file,\"VIPRang\"));

Nem elérhető Amf

  • 1459
    • Profil megtekintése
Ezekre mi a megoldás?
« Válasz #3 Dátum: 2012. augusztus 17. - 16:25:48 »
0 Show voters
Ott formázd meg, ahol adod neki a VIP rangot!
 
dini_Set(file, \"<%s>\", PnDark[playerid][VIPRank]);

Ezekre mi a megoldás?
« Válasz #4 Dátum: 2012. augusztus 17. - 17:24:10 »
0 Show voters
public OnPlayerDisconnect(playerid)
{
    new file[128];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(file,sizeof(file),\"/nDark/Players/%s.ini\",name);
    if(fexist(file))
    {
    dini_IntSet(file,\"Pont\", GetPlayerScore(playerid));
    dini_IntSet(file,\"Penz\", GetPlayerMoney(playerid));
    dini_IntSet(file,\"Halal\", PnDark[playerid][Halalok]);
    dini_IntSet(file,\"Oles\", PnDark[playerid][Olesek]);
    dini_IntSet(file,\"Statisztika\", PnDark[playerid][statisztika]);
    dini_IntSet(file,\"AdminSzint\", AnDark[playerid][szint]);
    dini_IntSet(file,\"LoggedIn\", PnDark[playerid][LoggedIn]);
    dini_IntSet(file,\"Figyelmeztetesek\", PnDark[playerid][Warnok]);
    dini_IntSet(file,\"VIPSzint\", PnDark[playerid][VIPSzint]);
    format(PnDark[playerid][VIPRank], 65, \"<%s>\", dini_Set(file,\"VIPRang\"));
    format(PnDark[playerid][VIPRankcolor], 65, \"{%s}\", dini_Set(file,\"VIPRangszin\"));
    format(PnDark[playerid][VIPTextcolor], 65, \"{%s}\", dini_Set(file,\"VIPSzovegszin\"));
    format(PnDark[playerid][Namecolor], 65, \"{%s}\", dini_Set(file,\"Nevszin\"));
    format(PnDark[playerid][Newnick], 65, \"{%s}\", dini_Set(file,\"Ujnev\"));
    dini_IntSet(file,\"Karakter\", PnDark[playerid][skin]);
    dini_IntSet(file,\"Ido\", PnDark[playerid][Time]);
    dini_IntSet(file,\"Idojaras\", PnDark[playerid][Weather]);
    }
    format(file,sizeof(file),\"/nDark/Admins/%s.ini\",name);
    if(fexist(file))
    {
    dini_IntSet(file,\"AdminSzint\", AnDark[playerid][szint]);
    }
Belepve[playerid] = 0;
PnDark[playerid][Warnok]=0;
COD[playerid] = false;
SpeedBoost[playerid]=0;
SpinZ[playerid]=0;
SpinY[playerid]=0;
SpinX[playerid]=0;
Jump[playerid]=0;
RepFlip[playerid]=0;
SuperStop[playerid]=0;
ColorChanger[playerid]=0;
Lamp[playerid]=0;
    Boot[playerid]=0;
    Boonet[playerid]=0;
    Tow[playerid]=0;
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == CMDSDIALOG && response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,CMDS2DIALOG,DIALOG_STYLE_LIST,\"Commands {33AA33}<<<<\",\"{ff8ea5}/teles {ffffff}- Teleportok.\\n{ff8ea5}/admins {ffffff}- Elérhetõ adminok.\\n{ff8ea5}/vips {ffffff}- Elérhetõ vip játékosok.\",\"Kilépés\",\"\");
}
return 1;
}
if(dialogid == TELESDIALOG && response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,ALAPDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{FF0000}Los Santos\\n{FF4646}San Fierro\\n{DDDDDD}Las Venturas\",\"Választ\",\"Kilépés\");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,STUNTDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{33AA33}Még nincs!\",\"Választ\",\"Kilépés\");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid,DRIFTDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{FFFFFF}Drift 1\\n{DDDDDD}Drift 2\",\"Választ\",\"Kilépés\");
}
if(listitem == 3)
{
ShowPlayerDialog(playerid,FUNDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{00FF00}Hullámvasút\\n{33AA33}AuqaPark\\nHalálzóna\",\"Választ\",\"Kilépés\");
}
if(listitem == 4)
{
ShowPlayerDialog(playerid,DMDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{003a5e}Sniper DM\",\"Választ\",\"Kilépés\");
}
if(listitem == 5)
{
ShowPlayerDialog(playerid,RACEDIALOG,DIALOG_STYLE_LIST,\"Teles\",\"{FF0000}Nascar\",\"Választ\",\"Kilépés\");
}
return 1;
}
if(dialogid == ALAPDIALOG && response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,ALAP2DIALOG,DIALOG_STYLE_MSGBOX,\"Alap Teleportok\",\"{FF4646}Még nincsenek alap teleportok!\\n\\n{DDDDDD}Hamarosan!\",\"OK\",\"\");
}
return 1;
}
if(dialogid == STUNTDIALOG && response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,STUNT2DIALOG,DIALOG_STYLE_MSGBOX,\"Stunt Teleportok\",\"{FF4646}Még nincsenek stunt teleportok!\\n\\n{DDDDDD}Hamarosan!\",\"OK\",\"\");
}
return 1;
}
if(dialogid == DRIFTDIALOG && response)
{
if(listitem == 0)
{
SetPlayerPos(playerid, 1311.3690,-2456.5505,7.8281);
}
if(listitem == 1)
{
SetPlayerPos(playerid, 1601.9120,-2760.7534,7.4170);
}
return 1;
}
if(dialogid == FUNDIALOG && response)
{
if(listitem == 0)
{
SetPlayerPos(playerid, -1686.8348,2575.8630,304.1877);
}
if(listitem == 1)
{
SetPlayerPos(playerid, -2910.9829,-188.5926,13.6229);
}
if(listitem == 2)
{
SetPlayerPos(playerid, -2382.9060058594, 1010.7213134766, 821.65283203125);
}
return 1;
}
if(dialogid == DMDIALOG)
{
if(listitem == 0)
{
SetPlayerPos(playerid, 1902.2263183594, -3988.7414550781, -2.9141826629639);
}
return 1;
}
if(dialogid == RACEDIALOG && response)
{
if(listitem == 0)
{
SetPlayerPos(playerid, 1982.3100, -6631.4500, 23.7500);
}
return 1;
}
//Egyéb dialogok------------------------------------------------------------
if(dialogid == FIGHTSTYLE && response)
{
if(listitem == 0)
{
SetPlayerFightingStyle(playerid,FIGHT_STYLE_NORMAL);
}
if(listitem == 1)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
}
if(listitem == 2)
{
SetPlayerFightingStyle(playerid,FIGHT_STYLE_KUNGFU);
}
if(listitem == 3)
{
SetPlayerFightingStyle(playerid,FIGHT_STYLE_KNEEHEAD);
}
if(listitem == 4)
{
SetPlayerFightingStyle(playerid,FIGHT_STYLE_GRABKICK);
}
if(listitem == 5)
{
SetPlayerFightingStyle(playerid,FIGHT_STYLE_ELBOW);
}
return 1;
}
      if(dialogid == NEVVALTAS)
{
new file[128], nick[MAX_PLAYER_NAME];
GetPlayerName(playerid, nick, sizeof(nick));
format(file, sizeof(file), \"/nDark/Players/%s.ini\", nick);
if(dini_Exists(file))
SetPlayerName(playerid, inputtext);
dini_Set(file,\"Ujnev\",inputtext);
return 1;
}
if(dialogid == VKEYDIALOG2)
{
    if(response)
    {
        if(listitem == 0)
        {
              CarTimer = SetTimer(\"CarColor\",1000,1);
           }
           if(listitem == 1)
        {
               SpeedBoost[playerid]=0;
              SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=1;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Kézi Színváltó aktiválva! Nyomd le a Ctrl gombot!\");
                KillTimer(CarTimer);
           }
}
}
  if(dialogid == VKEYDIALOG)
{
    if(response)
    {
           if(listitem == 0)
        {
                SpeedBoost[playerid]=1;
                SpinZ[playerid]=0;
                SpinY[playerid]=0;
      SpinX[playerid]=0;
      Jump[playerid]=0;
      RepFlip[playerid]=0;
      SuperStop[playerid]=0;
      ColorChanger[playerid]=0;
      Lamp[playerid]=0;
                Boot[playerid]=0;
                Boonet[playerid]=0;
                Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"SpeedBoost aktiválva! Nyomd le a Ctrl gombot!\");
   }
        if(listitem == 1)
        {
                SpeedBoost[playerid]=0;
                SpinZ[playerid]=1;
                SpinY[playerid]=0;
      SpinX[playerid]=0;
      Jump[playerid]=0;
      RepFlip[playerid]=0;
      SuperStop[playerid]=0;
      ColorChanger[playerid]=0;
      Lamp[playerid]=0;
                Boot[playerid]=0;
                Boonet[playerid]=0;
                Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Spin aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 2)
        {
                SpeedBoost[playerid]=0;
            SpinZ[playerid]=0;
                SpinY[playerid]=1;
                  SpinX[playerid]=0;
      Jump[playerid]=0;
      RepFlip[playerid]=0;
      SuperStop[playerid]=0;
      ColorChanger[playerid]=0;
      Lamp[playerid]=0;
                Boot[playerid]=0;
                Boonet[playerid]=0;
                Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Spin aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 3)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
               SpinY[playerid]=0;
                SpinX[playerid]=1;
                Jump[playerid]=0;
      RepFlip[playerid]=0;
      SuperStop[playerid]=0;
      ColorChanger[playerid]=0;
      Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
               SendClientMessage(playerid, 0xFFFF00FF ,\"Spin aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 4)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
               SpinX[playerid]=0;
                Jump[playerid]=1;
                RepFlip[playerid]=0;
                ColorChanger[playerid]=0;
                SuperStop[playerid]=0;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Ugrás aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 5)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
           ColorChanger[playerid]=0;
                RepFlip[playerid]=1;
                SuperStop[playerid]=0;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Megfordítás és egyben javítás aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 6)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                ColorChanger[playerid]=0;
                SuperStop[playerid]=1;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Super Stop aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 7)
        {
                ShowPlayerDialog(playerid, VKEYDIALOG3, DIALOG_STYLE_LIST, \"{005c99}>>>> {525252}Színváltó{005c99} <<<<\", \"{00FFFF}Automatikus\\n{00FFFF}Kézi\", \"Kiválaszt\", \"Kilép\");
   }
   if(listitem == 8)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=0;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=1;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Motorháztetõ aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 9)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=0;
                Lamp[playerid]=0;
               Boot[playerid]=1;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Csomagtartó aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 10)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=0;
                Lamp[playerid]=1;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=0;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Lámpa aktiválva! Nyomd le a Ctrl gombot!\");
   }
   if(listitem == 11)
        {
               SpeedBoost[playerid]=0;
               SpinZ[playerid]=0;
      SpinY[playerid]=0;
           SpinX[playerid]=0;
           Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=0;
                Lamp[playerid]=0;
               Boot[playerid]=0;
               Boonet[playerid]=0;
               Tow[playerid]=1;
                SendClientMessage(playerid, 0xFFFF00FF ,\"Autó vontatás aktiválva! Nyomd le a Ctrl gombot!Az /untow paranccsal csatolod le a jármûveket!\");
   }
   if(listitem == 12)
        {
               SpeedBoost[playerid]=0;
                SpinZ[playerid]=0;
                SpinY[playerid]=0;
                SpinX[playerid]=0;
                Jump[playerid]=0;
                RepFlip[playerid]=0;
                SuperStop[playerid]=0;
                ColorChanger[playerid]=0;
                Lamp[playerid]=0;
      Boot[playerid]=0;
               Boonet[playerid]=0;
      Tow[playerid]=0;
      KillTimer(CarTimer);
   }
            if(listitem == 13)
        {
               dline[0] = EOS;
      for(new i; i < sizeof(segitseg); i ++)
             {
            strcat(dline, segitseg);
             strcat(dline, \"\\n\");
            }
                ShowPlayerDialog(playerid, VKEYDIALOG2, DIALOG_STYLE_MSGBOX, \"{005c99}>>>>{525252} VKEY Segítség {005c99}<<<<\", dline, \"Kilép\", \"\");
                if(!response) return ShowPlayerDialog(playerid,    VKEYDIALOG, DIALOG_STYLE_LIST, \"{005c99}>>>>{525252} VKEY {005c99}<<<<\", \"{525252}SpeedBoost\\n{005c99}SpinZ\\n{525252}SpinY\\n{005c99}SpinX\\n{525252}Ugrás\\n{005c99}Megfordítás,egyben javítás\\n{525252}Super Stop\\n{005c99}Színváltó\\n{525252}Motorháztetõ\\n{005c99}Csomagtartó\\n{525252}Lámpa\\n{005c99}Vontatás\\n{FF4646}Ne történjen semmi\\n{33AA33}Segítség\", \"Kiválaszt\", \"Kilép\");
   }
         }
return 1;
}
    if(dialogid == NEONDIALOG)
{
if(response)
{
   if(listitem == 0)
   {
      SetPVarInt(playerid, \"Status\", 1);
               SetPVarInt(playerid, \"Neon\", CreateObject(18648,0,0,0,0,0,0));
                  SetPVarInt(playerid, \"Neon1\", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonk\", CreateObject(18648,0,0,0,0,0,0,90));
                SetPVarInt(playerid, \"elsonk\", CreateObject(18648,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonk\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonk\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"Neon\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               AttachObjectToVehicle(GetPVarInt(playerid, \"Neon1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   if(listitem == 1)
   {
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon2\", CreateObject(18647,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon3\", CreateObject(18647,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonp\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonp\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon2\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon3\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   if(listitem == 2)
   {
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon4\", CreateObject(18649,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon5\", CreateObject(18649,0,0,0,0,0,0));
                SetPVarInt(playerid, \"elsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"hatsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonz\"), GetPlayerVehicleID(playerid), -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"elsonz\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon4\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon5\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
          }
   if(listitem == 3)
   {
      SetPVarInt(playerid, \"Status\", 1);
                SetPVarInt(playerid, \"neon6\", CreateObject(18652,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon7\", CreateObject(18652,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonf\", CreateObject(18652,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonf\", CreateObject(18652,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonf\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonf\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon6\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon7\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   if(listitem == 4)
   {
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon8\", CreateObject(18651,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon9\", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonr\", CreateObject(18651,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonr\", CreateObject(18651,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonr\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonr\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon8\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon9\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   if(listitem == 5)
   {
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon10\", CreateObject(18650,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon11\", CreateObject(18650,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsons\", CreateObject(18650,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsons\", CreateObject(18650,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsons\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsons\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon10\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon11\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   if(listitem == 6)
   {
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon12\", CreateObject(18646,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon13\", CreateObject(18646,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon12\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon13\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
          }
   if(listitem == 7)
   {
            DestroyObject(GetPVarInt(playerid, \"neon\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon2\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon3\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon4\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon5\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon6\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon7\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon8\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon9\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon10\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon11\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon12\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon13\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back1\"));
            DeletePVar(playerid, \"Status\");
      DestroyObject(GetPVarInt(playerid, \"front\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"front1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover1\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonk\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonk\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"hatsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsons\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsons\"));
            DeletePVar(playerid, \"Status\");
          }
   }
   return 1;
}
        if(dialogid == REGISZTRACIO)
        {
                if(response)
                {
                    new file[128];
                    new string[250];
                    new name[MAX_PLAYER_NAME];
                        GetPlayerName(playerid, name, sizeof(name));
                        if(strlen(inputtext) == 0)
                        {
                                format(string, sizeof string, \"{FF4646}Ez a név nincs regisztrálva,\\nkezdés elõtt be kell regisztrálnod.\\n\\n{DDDDDD}Név: {FFFFFF}%s\\n\\n{DDDDDD}Írd be a jelszavad:\", name);
                                ShowPlayerDialog(playerid, REGISZTRACIO, DIALOG_STYLE_PASSWORD, \"Regisztráció\", string, \"Regisztrál\", \"Kilépés\");
                                return 0;
                        }
                        format(file,sizeof(file),\"/nDark/Players/%s.ini\",name);
                        if(!fexist(file))
                        {
                                dini_Create(file);
                                dini_IntSet(file,\"Jelszo\", udb_hash(inputtext));
                                dini_IntSet(file,\"Pont\", GetPlayerScore(playerid));
                                dini_IntSet(file,\"Penz\", GetPlayerMoney(playerid));
                                dini_IntSet(file,\"Halal\", PnDark[playerid][Halalok]);
                            dini_IntSet(file,\"Oles\", PnDark[playerid][Olesek]);
                            dini_IntSet(file,\"Statisztika\", PnDark[playerid][statisztika]);
                            dini_IntSet(file,\"AdminSzint\", AnDark[playerid][szint]);
                            dini_IntSet(file,\"LoggedIn\", PnDark[playerid][LoggedIn]);
                            dini_IntSet(file,\"Figyelmeztetesek\", PnDark[playerid][Warnok]);
                            dini_IntSet(file,\"VIPSzint\", PnDark[playerid][VIPSzint]);
                            format(PnDark[playerid][VIPRank], 65, \"<%s>\", dini_Set(file,\"VIPRang\"));
                      format(PnDark[playerid][VIPRankcolor], 65, \"{%s}\", dini_Set(file,\"VIPRangszin\"));
                      format(PnDark[playerid][VIPTextcolor], 65, \"{%s}\", dini_Set(file,\"VIPSzovegszin\"));
                      format(PnDark[playerid][Namecolor], 65, \"{%s}\", dini_Set(file,\"Nevszin\"));
                      format(PnDark[playerid][Newnick], 65, \"{%s}\", dini_Set(file,\"Ujnev\"));
                dini_IntSet(file,\"Karakter\", PnDark[playerid][skin]);
                 dini_IntSet(file,\"Ido\", PnDark[playerid][Time]);
                      dini_IntSet(file,\"Idojaras\", PnDark[playerid][Weather]);
 
                                format(string, sizeof string, \"{FF4646}Ez a név regisztrálva van,\\nkezdés elõtt be kell jelentkezned.\\n\\n{DDDDDD}Név: {FFFFFF}%s\\n\\n{DDDDDD}Írd be a jelszavad:\", name);
                                ShowPlayerDialog(playerid, BEJELENTKEZO, DIALOG_STYLE_PASSWORD, \"Bejelentkezés\", string, \"Belépés\", \"Kilépés\");
                                PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
                                GetPlayerName(playerid, name, sizeof(name));
                                printf(\">> AccServ: %s sikeresen regisztrált!\", name);
                                  format(string, 10000, \"{DDDDDD}>> AccServ: {FF4646} Fiók {57A433}\'%s\' {33AA33}sikeresen regisztrálva.\", name);
                  SendClientMessage(playerid, -1, string);
                  PnDark[playerid][LoggedIn] = 1;
                        }
                }else{new string[200], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof name); format(string, sizeof string, \"Üdv %s! \\nTe még nem vagy regisztrálva! \\n\\nKérjük regisztrálj.\", name); ShowPlayerDialog(playerid, REGISZTRACIO, DIALOG_STYLE_INPUT, \"REGISZTRÁCIÓ\", string, \"Regisztrál\", \"Mégsem\");}
        }
        if(dialogid == BEJELENTKEZO)
        {
                if(response)
                {
                    new file[128];
                    new string[250];
                    new PlayerName[24];
                        if(strlen(inputtext) == 0)
                        {
                            GetPlayerName(playerid, PlayerName, sizeof PlayerName);
                            format(string, sizeof string, \"{FF4646}Ez a név regisztrálva van,\\nkezdés elõtt be kell jelentkezned.\\n\\n{DDDDDD}Név: {FFFFFF}%s\\n\\n{DDDDDD}Írd be a jelszavad:\", PlayerName);
                                ShowPlayerDialog(playerid, BEJELENTKEZO, DIALOG_STYLE_PASSWORD, \"Bejelentkezés\", string, \"Belépés\", \"Kilépés\");
                                return 0;
                        }
                        new name[MAX_PLAYER_NAME];
                        GetPlayerName(playerid, name, sizeof(name));
                        format(file,sizeof(file),\"/nDark/Players/%s.ini\",name);
                        if(fexist(file))
                        {
                            new password = dini_Int(file, \"Jelszo\");
                        if(udb_hash(inputtext) != password)
                                {
                                format(string, sizeof(string), \"{DDDDDD}>> AccServ: {FF4646} Sikertelen bejelentkezés! {FF0000}(%d/2)\",PnDark[playerid][LoginFailed]);
                  SendClientMessage(playerid, -1, string);
                                    PnDark[playerid][LoginFailed] = PnDark[playerid][LoginFailed]+1;
                                    TogglePlayerSpectating(playerid, 0);
                      if(PnDark[playerid][LoginFailed] == 2)
                     {
                     Kick(playerid);
                           }
                                        GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
                                        printf(\">> AccServ: %s nem tudott bejelentkezni! Indok: Helytelen jelszó.\", name);
                                }
                                else
                                {
                                        Belepve[playerid] = 1;
                                        ResetPlayerMoney(playerid);
                                        SetPlayerScore(playerid, dini_Int(file,\"Pont\"));
                                        GivePlayerMoney(playerid, dini_Int(file,\"Penz\"));
                                        PnDark[playerid][Halalok] = dini_Int(file,\"Halal\");
                                        PnDark[playerid][Olesek] = dini_Int(file,\"Oles\");
                                        PnDark[playerid][statisztika] = dini_Int(file,\"Statisztika\");
                                        AnDark[playerid][szint] = dini_Int(file,\"AdminSzint\");
                                        PnDark[playerid][LoggedIn] = dini_Int(file,\"LoggedIn\");
                                        PnDark[playerid][Warnok] = dini_Int(file,\"Figyelmeztetesek\");
                                        PnDark[playerid][VIP] = dini_Int(file,\"VIP\");
                                        PnDark[playerid][VIPSzint] = dini_Int(file,\"VIPSzint\");
                                        format(PnDark[playerid][VIPRank], 65, \"<%s>\", dini_Set(file,\"VIPRang\"));
                               format(PnDark[playerid][VIPRankcolor], 65, \"{%s}\", dini_Set(file,\"VIPRangszin\"));
                               format(PnDark[playerid][VIPTextcolor], 65, \"{%s}\", dini_Set(file,\"VIPSzovegszin\"));
                                 format(PnDark[playerid][Namecolor], 65, \"{%s}\", dini_Set(file,\"Nevszin\"));
                               format(PnDark[playerid][Newnick], 65, \"{%s}\", dini_Set(file,\"Ujnev\"));
                                        PnDark[playerid][skin] = dini_Int(file,\"Karakter\");
                                        PnDark[playerid][Time] = dini_Int(file,\"Ido\");
                                        PnDark[playerid][Weather] = dini_Int(file,\"Idojaras\");
                                        SetPlayerTime(playerid, dini_Int(file,\"Ido\"));
                                        SetPlayerWeather(playerid, dini_Int(file,\"Idojaras\"));
                                        SetPlayerSkin(playerid, dini_Int(file,\"Karakter\"));
                                       
                                       
                                        SendClientMessage(playerid, -1, \"{DDDDDD}>> AccServ: {FF4646} Sikeresen bejelentkeztél.\");
                                        PnDark[playerid][LoggedIn] = 1;
                                }
                        }
                }else{new string[200], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof name); format(string, sizeof string, \"Üdv %s! \\nKérjük jelentkezz be! \\n\\nIrd be a jelszódat.\", name);ShowPlayerDialog(playerid, BEJELENTKEZO, DIALOG_STYLE_PASSWORD, \"BEJELENTKEZÉS\", string, \"Belép\", \"Mégsem\");}
        }
        return 0;
}

 

CMD:setrank(playerid, params[])
{
    if(COD[playerid] == true) return SendClientMessage(playerid,-1,\"{FF4646}>>>> {525252}DM Zónában vagy! Kilépéshez /exitdm {FF4646}<<<<\");
      if(PnDark[playerid][LoggedIn] == 1 && PnDark[playerid][VIPSzint] >= 1)
{
new Titulus[64 + 1];
new string[250];
new file[128];
new viptag[MAX_PLAYER_NAME];
GetPlayerName(playerid, viptag, sizeof(viptag));
if(sscanf(params, \"s[64]\", Titulus)) return SendClientMessage(playerid, -1, \"{DDDDDD}>> Használat: {005c99}/setrank [Új rang]\");
if(strlen(Titulus) > 64) return 1;
format(file, sizeof(file), \"/nDark/Players/%s.ini\", viptag);
if(dini_Exists(file))
format(PnDark[playerid][VIPRank], (64), \" <%s>\", Titulus);
format(string,sizeof(string),\"{FF4646}>> AccServ: {57A433}Rang megváltoztatva! {FFFFFF}Rang: %s\",Titulus);
SendClientMessage(playerid, 0xFFFFFFAA, string);
}
else
{
SendClientMessage(playerid, -1, ONLYVIP);
}
return 1;
}

 
Össze raknád? :DD mert nem értem..

Nem elérhető Kovacs_Richard

  • 1743
  • HRP Fejlesztő
  • Discord: Kovacs_Richard#0321
    • Profil megtekintése
    • Hun Role Play Web
Ezekre mi a megoldás?
« Válasz #5 Dátum: 2012. augusztus 17. - 17:47:56 »
0 Show voters
Header size:           7476 bytes
Code size:           329672 bytes
Data size:          2844924 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5095 cells (20380 bytes)
Total requirements: 3198456 bytes
[/quote]
ettõl nem kell félni ezt akkor írja ki ha meghaladsz bizonyos mennyiségû változó + tömb méretet...
 
#pragma dynamic CELLÁK

 
ez csak annyi hogy beállítod a Dinamikus Adatok figyelmeztetését, ha meghalad X cellát akkor írja ki
« Utoljára szerkesztve: 2012. augusztus 17. - 19:27:40 írta Kovacs_Richard »
Régóta nem tevékenykedem, mint SA-MP scripter.
HRP Fejlesztő.

Ezekre mi a megoldás?
« Válasz #6 Dátum: 2012. augusztus 17. - 22:17:01 »
0 Show voters
Tapasztalak hogy ilyenkor a mód nem fog rendesen futni, tehát igenis félni kell tõle.

Nem elérhető Kovacs_Richard

  • 1743
  • HRP Fejlesztő
  • Discord: Kovacs_Richard#0321
    • Profil megtekintése
    • Hun Role Play Web
Ezekre mi a megoldás?
« Válasz #7 Dátum: 2012. augusztus 18. - 01:33:00 »
0 Show voters
Idézetet írta: TayLoR date=1345234621\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"26352\" data-ipsquote-contentclass=\"forums_Topic
Tapasztalak hogy ilyenkor a mód nem fog rendesen futni, tehát igenis félni kell tõle.
 
nekem évek óta írja és semmi baja :)
Régóta nem tevékenykedem, mint SA-MP scripter.
HRP Fejlesztő.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal