Help. :|
#1

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 !
Reply
#2

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];
Reply
#3

removed becuz someone already posted! the same codes
Reply
#4

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.
Reply
#5

Show what you have before the enum line
Reply
#6

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 !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)