I can't see why this returns errors - Please help
#1

Here are the errors

Код:
G:\SAMP\Sin Life Roleplay\Gamemodes\SinLife.pwn(344) : error 028: invalid subscript (not an array or too many subscripts): "ACCOUNT_DATA"
G:\SAMP\Sin Life Roleplay\Gamemodes\SinLife.pwn(344) : warning 215: expression has no effect
G:\SAMP\Sin Life Roleplay\Gamemodes\SinLife.pwn(344) : error 001: expected token: ";", but found "]"
G:\SAMP\Sin Life Roleplay\Gamemodes\SinLife.pwn(344) : error 029: invalid expression, assumed zero
G:\SAMP\Sin Life Roleplay\Gamemodes\SinLife.pwn(344) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
and here is the line

Quote:

stock GetPlayerAdmin(playerid)
{
return ACCOUNT_DATA[playerid][admin];
}

Reply
#2

I think you should show the enum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)