06.11.2010, 05:03
So I am creating a house system, I need to see if the player's name equals the owner of the house. I have This...
And I Get This...
I also have tried this...
I get no error but it doesn't work in-game. Because the person who owns the house can't do it.
What is the proper way to do this?
pawn Код:
if(pName[playerid] == hOwner[hid]) {
Quote:
error 033: array must be indexed (variable "pName") |
I also have tried this...
pawn Код:
if(strcmp(hOwner[hid], pName[playerid], true)) {
What is the proper way to do this?