24.09.2011, 15:53
Hello i am trying to create a simple admin on duty cmd. But when i try to compile it then i get these errors
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(256) : error 001: expected token: "-identifier-", but found "["
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 029: invalid expression, assumed zero
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 035: argument type mismatch (argument 2)
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 020: invalid symbol name ""
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : fatal error 107: too many error messages on one line
"Line 256" new aname[MAX_PLAYERS_NAME];
"Line 257 GetPlayerName(playerid,aname,sizeof(aname));
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(256) : error 001: expected token: "-identifier-", but found "["
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 029: invalid expression, assumed zero
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 035: argument type mismatch (argument 2)
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : error 020: invalid symbol name ""
C:\Users\Folmer\Desktop\Data\dAdmin.pwn(257) : fatal error 107: too many error messages on one line
"Line 256" new aname[MAX_PLAYERS_NAME];
"Line 257 GetPlayerName(playerid,aname,sizeof(aname));