Actor Robbery System - Problem
#2

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.

Код:
new _robbery = random(1);

switch(_robbery)
{
	case 0:
	{
		// Robbed
	}
	case 1:
	{
		// Failed
	}
}
Reply


Messages In This Thread
Actor Robbery System - Problem - by BrainDamaged - 26.01.2018, 17:08
Re: Actor Robbery System - Problem - by Fratello - 26.01.2018, 19:34
Re: Actor Robbery System - Problem - by BrainDamaged - 27.01.2018, 09:39
Re: Actor Robbery System - Problem - by wallee - 27.01.2018, 09:43
Re: Actor Robbery System - Problem - by BrainDamaged - 27.01.2018, 10:09
Re: Actor Robbery System - Problem - by OmerKhan - 27.01.2018, 10:15
Re: Actor Robbery System - Problem - by BrainDamaged - 27.01.2018, 10:48

Forum Jump:


Users browsing this thread: 3 Guest(s)