sell business
#1

Yo, I want the player to receive cash when he sells his business, but I only want him to receive 50% of the price that he bought it for.

I have this atm.

pawn Код:
GivePlayerMoney(playerid, BusinessInfo[id][bPrice]);
Reply
#2

Код:
GivePlayerMoney(playerid, BusinessInfo[id][bPrice] / 2);
?
Reply
#3

pawn Код:
GivePlayerMoney(playerid,50/100*BusinessInfo[id][bPrice]);
?
Reply
#4

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)