17.03.2017, 21:27
Somewhere at top of your script or house enum
Add this when a player buys a house
at command /buyhouse or whatever it is
Код:
new maxHouses[MAX_PLAYERS];
Код:
maxHouses[playerid]++;
Код:
if(maxHouses[playerid] == 2) return SendClientMessage(playerid,-1,"You can only own 2 houses");