How to check if someone is house owner
#2

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
Reply


Messages In This Thread
How to check if someone is house owner - by AphexCCFC - 29.04.2014, 01:21
Re: How to check if someone is house owner - by Dignity - 29.04.2014, 01:27
Respuesta: Re: How to check if someone is house owner - by Swedky - 29.04.2014, 01:33
Re: How to check if someone is house owner - by AphexCCFC - 29.04.2014, 01:48

Forum Jump:


Users browsing this thread: 1 Guest(s)