25.01.2013, 18:32
(
Последний раз редактировалось Goldino; 25.01.2013 в 19:17.
Причина: deleting! post a new thread for my help
)
*Nearly solved* I will post a new thread!
Adminlevel
pAdminLevel
if(PlayerInfo[playerid][AdminLevel] >=3)
if(PlayerInfo[playerid][AdminLevel] >=3)
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo" C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : warning 215: expression has no effect C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : error 001: expected token: ";", but found "]" C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : error 029: invalid expression, assumed zero C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
CMD:jetpack(playerid,params[]) { if(PlayerInfo[playerid][AdminLevel] >=3) { SetPlayerSpecialAction(playerid, 2); SendClientMessage(playerid,COLOR_GREEN, "|__Jetpack Spawned__|"); return 1; } else return SendClientMessage(playerid, COLOR_RED, " You are not allowed to use this command"); }
new pInfo[MAX_PLAYERS][PlayerInfo];
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\CNRSER~1\GAMEMO~1\Testing.pwn(617) : error 017: undefined symbol "AdminLevel" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
AdminLevel