[Help]Error in Ranks :)
#1

Hello Every One im Today Making The Ranks For Admins But Have Errors
Quote:

D:\ffff\gamemodes\fast.pwn(675) : error 017: undefined symbol "pRank"
D:\ffff\gamemodes\fast.pwn(675) : error 017: undefined symbol "Admin"
D:\ffff\gamemodes\fast.pwn(675) : error 029: invalid expression, assumed zero
D:\ffff\gamemodes\fast.pwn(675) : fatal error 107: too many error messages on one line

this Line (675)
its in OnPlayerSpawn
Quote:

if(PlayerInfo[playerid][pRank] == Trial Admin)
{
//im Making it new
}

Reply
#2

Show us your playerinfo enum.You put it in the file, didn't you?
Reply
#3

Quote:

if(PlayerInfo[playerid][pRank] == 0)
{
//this for rank
}

i made this
im use y_ini but i dont make any things in y_ini for admins
Reply
#4

Help Please
+Rep
Reply
#5

You forget the enums.
pawn Код:
enum pInfo
{
    pRank,
    Admin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#6

after i add the pRank and pAdmin not Fixing it
Quote:

D:\ffff\gamemodes\fast.pwn(675) : error 017: undefined symbol "Trial"
D:\ffff\gamemodes\fast.pwn(675) : error 017: undefined symbol "Admin"
D:\ffff\gamemodes\fast.pwn(675) : error 029: invalid expression, assumed zero
D:\ffff\gamemodes\fast.pwn(675) : fatal error 107: too many error messages on one line

Quote:

if(PlayerInfo[playerid][pRank] == Trial Admin)
{
//New
}

cant Space in Trial Admin Or Be Trial_Admin
Why Error
Reply
#7

bumb
Reply
#8

Are you declaring 'Trial Admin' as a variable? For Example.

pawn Код:
new Trial_Admin;
or
pawn Код:
new TrialAdmin;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)