12.06.2016, 18:44
i have this code guys and i get the error on this line :
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 ,
, anyone know?
PHP код:
if(TeamInfo[i][tName] == PlayerName(playerid))
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(playerid, pName, MAX_PLAYER_NAME);
return pName;
}