SA-MP Forums Archive
Help. :| - 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)
+--- Thread: Help. :| (/showthread.php?tid=546146)



Help. :| - HY - 13.11.2014

pawn Код:
enum pInfo
{
    Admin,
    Donator,
    Vip,
    Helper,
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    Level,
    Exp,
    Medic,
    Reporter,
    None,
    LiderReporter,
    Taximetrist,
    LiderTaxi
}
new PlayerInfo[MAX_PLAYERS][pInfo];
What's wrong here?
I get error :

pawn Код:
C:\Users\USER\Desktop\Programe\samp03z_svr_R1_win32\filterscripts\RomaniaRPG.pwn(59322) : error 001: expected token: ";", but found "enum"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Works fine yesterday, but today, I came from school, and I saw this error when I compile !


Re: Help. :| - nGen.SoNNy - 13.11.2014

pawn Код:
enum pInfo
{
    Admin,
    Donator,
    Vip,
    Helper,
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    Level,
    Exp,
    Medic,
    Reporter,
    None,
    LiderReporter,
    Taximetrist,
    LiderTaxi
};
static PlayerInfo[MAX_PLAYERS][pInfo];



Re: Help. :| - xMx4LiFe - 13.11.2014

removed becuz someone already posted! the same codes


Re: Help. :| - HY - 13.11.2014

pawn Код:
enum pInfo
{
    Admin,
    Donator,
    Vip,
    Helper,
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    Level,
    Exp,
    Medic,
    Reporter,
    None,
    LiderReporter,
    Taximetrist,
    LiderTaxi
};
static PlayerInfo[MAX_PLAYERS][pInfo];
Same errors.


Re: Help. :| - DavidBilla - 13.11.2014

Show what you have before the enum line


Re: Help. :| - HY - 13.11.2014

EDIT: Thanks David. You gave to me an idea. I made a cellphone system. I removed it, I didn't liked, and "forward CellPhone" was there. Now I removed it. Thanks !