02.10.2011, 00:31
and uhm, how can I make the random only for the type 1 missions?
(or mission 1,2,3)
I tried this:
but then I can only go further when the random number turns 1, wich is not all the time...
so I need a random that goes random through the mission with mission_type 1
(it are the first 3 missions aswell)
yes I know i was going to stop posting and asking about this...
but I just couldn't figure out...
(or mission 1,2,3)
I tried this:
pawn Код:
new rand = random(sizeof Mission);
if(gTeam[playerid] == TEAM_DRIVERS && level == 1)//nevermind this
{
if(Mission[rand][mission_type] == 1)
{//blahblah more code
so I need a random that goes random through the mission with mission_type 1
(it are the first 3 missions aswell)
yes I know i was going to stop posting and asking about this...
but I just couldn't figure out...