01.09.2009, 03:40
I am trying to check if my players name is == to a name that i am getting from a dini variable.
But instead i get: error 033: array must be indexed (variable "GetName")
Код:
if(HouseInfo[h][hName] == GetName(playerid)) { }
Код:
Other fuctions: stock GetName(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); return name; }