Thread
:
Trigger function with % chance
View Single Post
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
02-22-2017 , 12:07 Re: Trigger function with % chance
#
7
Quote:
Originally Posted by
OciXCrom
Code:
if
(
!
random
(
100
)
)
This is 1/100 chance.
__________________
Last edited by PRoSToTeM@; 02-22-2017 at
12:07
.
PRoSToTeM@
View Public Profile
Send a private message to PRoSToTeM@
Visit PRoSToTeM@'s homepage!
Find More Posts by PRoSToTeM@