SA-MP Forums Archive
[HELP..plz] Error in GM - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP..plz] Error in GM (/showthread.php?tid=105920)



[HELP..plz] Error in GM - Nyafe - 31.10.2009

pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo]; // THE ERROR IS HERE ****************************************
new gPlayerLogged[MAX_PLAYERS];
new gPlayerAccount[MAX_PLAYERS];
new rankcost = 600;

enum pInfo
{
    pPassword[128],
    pRank,
    pExp,
    pKills,
    pDeaths,
    pAdmin,
    pCash,
};

C:\Documents and Settings\Administrator\Desktop\[GM] Clan Portuguese Server\gamemodes\svClan.pwn(374) : error 017: undefined symbol "pInfo"
C:\Documents and Settings\Administrator\Desktop\[GM] Clan Portuguese Server\gamemodes\svClan.pwn(374) : error 009: invalid array size (negative, zero or out of bounds)

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.




Re: [HELP..plz] Error in GM - dice7 - 31.10.2009

And what does it say ?


Re: [HELP..plz] Error in GM - Nyafe - 31.10.2009

C:\Documents and Settings\Administrator\Desktop\[GM] Clan Portuguese Server\gamemodes\svClan.pwn(374) : error 017: undefined symbol "pInfo"
C:\Documents and Settings\Administrator\Desktop\[GM] Clan Portuguese Server\gamemodes\svClan.pwn(374) : error 009: invalid array size (negative, zero or out of bounds)

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: [HELP..plz] Error in GM - Nyafe - 31.10.2009


I managed to solve