Sellbiz
#1

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

You can multiply by 75 and then divide by 100.
Reply
#3

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

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)