16.09.2011, 00:07
Hello,
I have that, how would I use that to check if the player using the command /rentable is the owner or not? Thanks.
pawn Код:
hBuyer[MAX_PLAYER_NAME],
hBuyer[MAX_PLAYER_NAME],
stock IsPlayerOwner()
{
if(hBuyer[playerid] != houseowner) // you have to use your house var or enum to make it also loop all houses
{
return 1;
}
return 0;
}
if(HouseInfo[idx][hOwner] == playername)
strmid(HouseInfo[idx][hOwner], arrCoords[8], 0, strlen(arrCoords[8]), 255);
if(!strcmp(HouseInfo[idx][hOwner],playername));