[HELP]Success/Fail?
#4

The random get a random number between 1 (i'm not sure if is 1 or 0...probably 1) and the number that you put... so when you use random(4) the chances to return 1 is 25% that way you know that he failed if the number is different from 1 (the 1 can be any number between 1 and 4)

idk if you understood...sorry my bad english :/
Reply


Messages In This Thread
[HELP]Success/Fail? - by MadalinX5 - 10.11.2011, 18:49
Re: [HELP]Success/Fail? - by Pharrel - 10.11.2011, 18:53
Re: [HELP]Success/Fail? - by MadalinX5 - 10.11.2011, 19:03
Re: [HELP]Success/Fail? - by Pharrel - 10.11.2011, 19:18
Re: [HELP]Success/Fail? - by PowerPC603 - 10.11.2011, 21:31
Re: [HELP]Success/Fail? - by MadalinX5 - 12.11.2011, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)