enum pInfo
#3

Quote:
Originally Posted by [L3th4l]
View Post
pawn Code:
new PlayerData[MAX_PLAYERS][pInfo];

// To Save:
dini_IntSet(file, "Level", PlayerData[playerid][Level]);
why level and not Admin?

This gives me errors
i have put Level on register/login/disconnect and
on top
pawn Code:
new PlayerData[MAX_PLAYERS][pInfo];
Error
pawn Code:
pwn(46) : error 017: undefined symbol "pInfo"
pwn(46) : error 009: invalid array size (negative, zero or out of bounds)
pwn(441) : error 028: invalid subscript (not an array or too many subscripts): "Level"
pwn(441) : warning 215: expression has no effect
pwn(441) : error 001: expected token: ";", but found "]"
pwn(441) : error 029: invalid expression, assumed zero
pwn(441) : fatal error 107: too many error messages on one line
line 46 is
pawn Code:
new PlayerData[MAX_PLAYERS][pInfo]
and line 441 is
pawn Code:
Level[playerid] = dini_Int(file, "Level");
Reply


Messages In This Thread
enum pInfo - by cruising - 05.04.2011, 22:10
Re: enum pInfo - by [L3th4l] - 05.04.2011, 22:13
Re: enum pInfo - by cruising - 05.04.2011, 22:40
Re: enum pInfo - by [L3th4l] - 05.04.2011, 22:54
Re: enum pInfo - by cruising - 05.04.2011, 23:10

Forum Jump:


Users browsing this thread: 1 Guest(s)