10.12.2009, 17:40
hi there, im the owner of Mad_Heroes Crazy SErver and need some help fineshing my admin script
when compling, i get these errors.
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 036: empty statement
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
can anyone help?
here is line 53 - 57.
when compling, i get these errors.
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 017: undefined symbol "MAX_PLAYER_NAME"
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : error 036: empty statement
C:\Documents and Settings\Chris\Desktop\admin.pwn(57) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
can anyone help?
here is line 53 - 57.
Код:
//============================================================================== stock GetName ( playerid ) { new Name [ MAX_PLAYER_NAME ]; GetPlayerName ( playerid , Name , sizeof ( Name ) ); return Name ; } //==============================================================================