error array must be indexed (variable "tmp")
#1

pawn Код:
if (strcmp("/login", cmdtext, true, 10) == 0)
    {
      if(PlayerInfo[playerid][Logedin] == 0)
      {
        new tmp[64];
        new idx;
      tmp = strtok(cmdtext, idx);
            if( tmp == PlayerInfo[playerid][Password])
            {
        SendClientMessage(playerid, COLOR_YELLOW, "You Are Now Logged In");
            }
            else
            {
              SendClientMessage(playerid, COLOR_YELLOW, "Wrong Password");
            }
        }
        else
        {
          SendClientMessage(playerid, COLOR_YELLOW, "You are already loged in");
        }
    }
Код:
D:\Multiple\Servere\Sa-mp\UnderProgress\gamemodes\underprogress.pwn(191) : error 033: array must be indexed (variable "tmp")
HELP PLEASE
Reply


Messages In This Thread
error array must be indexed (variable "tmp") - by Dj_maryo1993 - 30.07.2009, 15:07
Re: error array must be indexed (variable "tmp") - by Joe Staff - 30.07.2009, 15:10
Re: error array must be indexed (variable "tmp") - by Dj_maryo1993 - 30.07.2009, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)