SA-MP Forums Archive
Sellbiz - 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: Sellbiz (/showthread.php?tid=438136)



Sellbiz - Tanush123 - 18.05.2013

Im terrible at math, how i change this to 75 percent
pawn Код:
GivePlayerMoney(playerid,BusInfo[PlayerData[playerid][OwnBusID]][Cost]/2);



Re: Sellbiz - Chenko - 18.05.2013

You can multiply by 75 and then divide by 100.


Re: Sellbiz - CJay9209 - 18.05.2013

sigh...
pawn Код:
GivePlayerMoney(playerid,BusInfo[PlayerData[playerid][OwnBusID]][Cost]/4*3);



Re: Sellbiz - Tanush123 - 19.05.2013

thanks