50% of house price - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 50% of house price (
/showthread.php?tid=464992)
50% of house price -
AphexCCFC - 20.09.2013
Hello. How do I make it so when a player uses /sellhouse it gives them 50% back of their house price?
pawn Код:
GivePlayerMoney(playerid, HouseInfo[houseid][hPrice]/50);
^ Something like that isn't it? I cannot remember now :/
Re: 50% of house price -
Dragonsaurus - 20.09.2013
pawn Код:
GivePlayerMoney(playerid, HouseInfo[houseid][hPrice]/2);
Re: 50% of house price -
AphexCCFC - 20.09.2013
Thanks