50% of house price
#1

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 :/
Reply
#2

pawn Код:
GivePlayerMoney(playerid, HouseInfo[houseid][hPrice]/2);
Reply
#3

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)