26.01.2018, 19:34
Mind providing the code here?
You can follow this code. It's (yet) another classic version of the fail system you can follow if you want to. Just a reminder, a random number for a computer is: 0 1 1 0 (pseudo random). You can look for pseudo random patches or fixes. I've seen one recently.
You can follow this code. It's (yet) another classic version of the fail system you can follow if you want to. Just a reminder, a random number for a computer is: 0 1 1 0 (pseudo random). You can look for pseudo random patches or fixes. I've seen one recently.
Код:
new _robbery = random(1); switch(_robbery) { case 0: { // Robbed } case 1: { // Failed } }