array must be indexed help
#1

i have this code guys and i get the error on this line :
PHP код:
if(TeamInfo[i][tName] == PlayerName(playerid)) 
error is that: error 033: array must be indexed (variable "PlayerName")
TeamInfo[i][tName] this contain the player name into an .ini text file , i am using dini ,
PHP код:
stock PlayerName(playerid)
{
    new 
pName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
    return 
pName;

, anyone know?
Reply


Messages In This Thread
array must be indexed help - by jimis - 12.06.2016, 18:44
Re: array must be indexed help - by Sjn - 12.06.2016, 18:47
Re: array must be indexed help - by jimis - 12.06.2016, 19:52

Forum Jump:


Users browsing this thread: 2 Guest(s)