Scripting related questions..
#2

By a timer. You just simply set a variable's value to 1, 2, 3 and set what's going to happen after what by setting them after an action gets done in that timer. And about the chance;

pawn Код:
new chance = random(100);
if(chance < 11)
{
       blablabla
}
That's logically it.
Reply


Messages In This Thread
Scripting related questions.. - by Dokins - 17.03.2014, 08:03
Re: Scripting related questions.. - by Calabresi - 17.03.2014, 08:16
Re: Scripting related questions.. - by Dokins - 17.03.2014, 08:29
Re: Scripting related questions.. - by Raisingz - 17.03.2014, 08:41
Re: Scripting related questions.. - by Calabresi - 17.03.2014, 08:43
Re: Scripting related questions.. - by Dokins - 17.03.2014, 08:43
Re: Scripting related questions.. - by Calabresi - 17.03.2014, 08:46
Re: Scripting related questions.. - by Dokins - 17.03.2014, 08:49
Re: Scripting related questions.. - by Dokins - 17.03.2014, 08:54
Re: Scripting related questions.. - by Calabresi - 17.03.2014, 09:00

Forum Jump:


Users browsing this thread: 2 Guest(s)