Breaking Cuffs [with a 10 % chance]
#4

random(100) goes from 0 to 99.
So the correct thing would be the following:
Код:
if ( random ( 100 ) < 10 )
...
Reply


Messages In This Thread
Breaking Cuffs [with a 10 % chance] - by ImTobi - 11.10.2017, 16:51
Re: Breaking Cuffs [with a 10 % chance] - by Dignity - 11.10.2017, 16:55
Re: Breaking Cuffs [with a 10 % chance] - by ImTobi - 11.10.2017, 19:09
Re: Breaking Cuffs [with a 10 % chance] - by Freaksken - 11.10.2017, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)