Error
#3

When you make a local variable, it means that you can use it only within the block where it was declared.So here you cannot use string in another block since it was declared in some other code block.Variable 'strings' scope is limited to else if(PlayerInfo[playerid][pBanned]) code block.

Code Block here means: { //code }

The solution is to move your 'new string[128]' to the top of the callback.
Reply


Messages In This Thread
Error - by sscarface - 30.05.2015, 02:43
Re: Error - by iSaint - 30.05.2015, 03:56
Re: Error - by Yashas - 30.05.2015, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)