Command give random if
#6

Quote:
Originally Posted by scripter112
Посмотреть сообщение
Try this

Код:
forward Militar(playerid);
public Militar(playerid);
{
	new rr = random(3);
	switch(rr)
	{
		case 0: militarjob[playerid] = 1;
		case 1: militarjob[playerid] = 7;
		case 2: militarjob[playerid] = 14;
		case 3: militarjob[playerid] = 20;
	}
	return 1;
}
and use SetTimerEx in your command to set the timer
Did these, now I should MilitarJob[playerid] = rr;


?
Reply


Messages In This Thread
Command give random if - by Zeus666 - 21.03.2018, 20:33
Re: Command give random if - by Ritzy2K - 21.03.2018, 20:39
Re: Command give random if - by scripter112 - 21.03.2018, 20:40
Re: Command give random if - by Zeus666 - 21.03.2018, 20:40
Re: Command give random if - by Ritzy2K - 21.03.2018, 20:43
Re: Command give random if - by Zeus666 - 21.03.2018, 20:44
Re: Command give random if - by scripter112 - 21.03.2018, 20:57
Re: Command give random if - by jlalt - 21.03.2018, 20:58
Re: Command give random if - by m1kas - 22.03.2018, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)