ERROR: array must be indexed (variable "cmd")
#4

Put that before using it

like OnPlayerCommandText

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        new string[256];
        new tmp[256];
        new cmd[256];
        cmd = strtok(cmdtext, idx);
This is an example of my script
Reply


Messages In This Thread
ERROR: array must be indexed (variable "cmd") - by universe - 07.12.2010, 20:18
Re: ERROR: array must be indexed (variable "cmd") - by JaTochNietDan - 07.12.2010, 20:28
Re: ERROR: array must be indexed (variable "cmd") - by universe - 07.12.2010, 20:44
Re: ERROR: array must be indexed (variable "cmd") - by SkizzoTrick - 07.12.2010, 20:55

Forum Jump:


Users browsing this thread: 3 Guest(s)