undefined symbol "playerid"
#8

You have to create enums normally...
PHP код:
enum blabla
{
     
CMD_OWNER,
    
CMD_PATRIOT//, etc..

Then use variable
like
PHP код:
new  PlayerInfo[MAX_PLAYERS][blabla]; 
And error of undefined playerid is occurs when you doing this in OnGameModeInit or where they playerid is not defined in Callback then use for statement. Like
PHP код:
// OnGameModeInit()
for(new playerid=0playerid<MAX_PLAYERSplayerid++)
{
 
// Your statements here...

Reply


Messages In This Thread
undefined symbol "playerid" - by AlfaSufaIndo - 01.07.2018, 00:26
Re: undefined symbol "playerid" - by JasonRiggs - 01.07.2018, 00:30
Re: undefined symbol "playerid" - by AlfaSufaIndo - 01.07.2018, 00:44
Re: undefined symbol "playerid" - by AlfaSufaIndo - 01.07.2018, 00:47
Re: undefined symbol "playerid" - by JasonRiggs - 01.07.2018, 00:51
Re: undefined symbol "playerid" - by AlfaSufaIndo - 01.07.2018, 00:57
Re: undefined symbol "playerid" - by CaptainBoi - 01.07.2018, 05:36
Re: undefined symbol "playerid" - by TadePoleMG - 01.07.2018, 06:05
Re: undefined symbol "playerid" - by Zeth - 01.07.2018, 06:10
Re: undefined symbol "playerid" - by xMoBi - 01.07.2018, 06:16

Forum Jump:


Users browsing this thread: 2 Guest(s)