Help House
#9

Somewhere at top of your script or house enum

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


Messages In This Thread
Help House - by ommar8080 - 17.03.2017, 19:07
Re: Help House - by lackmail - 17.03.2017, 19:10
Re: Help House - by Toroi - 17.03.2017, 19:11
Re: Help House - by ommar8080 - 17.03.2017, 19:12
Re: Help House - by Bolex_ - 17.03.2017, 19:41
Re: Help House - by ommar8080 - 17.03.2017, 20:10
Re: Help House - by Bolex_ - 17.03.2017, 20:15
Re: Help House - by ommar8080 - 17.03.2017, 21:21
Re: Help House - by LazzyBoy - 17.03.2017, 21:27
Re: Help House - by ommar8080 - 17.03.2017, 21:40

Forum Jump:


Users browsing this thread: 1 Guest(s)