Can someone tell me what this means - 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: Can someone tell me what this means (
/showthread.php?tid=375737)
Can someone tell me what this means -
ShawnMiller1337 - 08.09.2012
Код:
PlayerInfo[suspect][pJailTime] = ((time*60)*75)/100;
What does the *60*75/100 mean
Re: Can someone tell me what this means -
Boooth - 08.09.2012
It means that the value of time is multiplied by 60 then the outcome of that is multiplied by 75 and then the outcome of that is divided by 100.
Re: Can someone tell me what this means -
newbienoob - 08.09.2012
* = multiplication
/ = division
Re: Can someone tell me what this means -
ddnbb - 08.09.2012
Its just a calculating that code to a final result. (result is 45, if 'time' is defined as 1.)