29.04.2014, 01:33
Quote:
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 Код:
|
pawn Код:
new name[MAX_PLAYER_NAME]
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name, HouseInfo[id][hOwner], true) == 0) // If the value that he returns is '0'.
// etc