29.04.2014, 01:27
Getting their name and checking if the string matches. Something like this: (not sure if you use this to check if strings match seeing I don't use strcmp)
pawn Код:
new name[MAX_PLAYER_NAME]
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name, HouseInfo[id][hOwner], true))
// etc