Bug with my sell house command
#10

Make a player variable to check if the owner has a house or not. When he sells the house you set it to zero so he can't sell a house he doesn't own.

if(ownshouse[playerid] == 0) return SCM(playerid, COLOR_LIGHTRED, "You do not own a house.");
Reply


Messages In This Thread
Bug with my sell house command - by Sc0pion - 19.03.2015, 11:19
AW: Bug with my sell house command - by Kaliber - 19.03.2015, 11:43
Re: Bug with my sell house command - by Sc0pion - 19.03.2015, 11:56
AW: Bug with my sell house command - by Kaliber - 19.03.2015, 12:00
Re: Bug with my sell house command - by Sc0pion - 19.03.2015, 12:04
AW: Re: Bug with my sell house command - by Kaliber - 19.03.2015, 12:24
Re: Bug with my sell house command - by Sc0pion - 19.03.2015, 13:44
AW: Re: Bug with my sell house command - by Kaliber - 19.03.2015, 13:47
Re: Bug with my sell house command - by Sc0pion - 19.03.2015, 13:49
Re: Bug with my sell house command - by Chrillzen - 19.03.2015, 13:56

Forum Jump:


Users browsing this thread: 2 Guest(s)