Tiny timer help!
#6

Ok i did this i made these timers
Код:
           SetTimerEx("Cexplosion", 500, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 800, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 1000, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 1300, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 1600, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 1800, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 2000, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 2400, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 2700, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 2800, false, "d", carbomb[playerid]);
           SetTimerEx("Cexplosion", 3000, false, "d", carbomb[playerid]);
But all explosions take place at the same time, But i need it to explode one after the other, like time gap half a sec , So please tell what do do, Thnx
And
Код:
public Cexplosion(vehicleid)
{
	for(new i; i < MAX_PLAYERS; i++)
	{
       new Float:X,Float:Y,Float:Z;
       GetVehiclePos(carbomb[i],X,Y,Z);
       CreateExplosion(X+1,Y+1,Z+1, 7, 7);
       CreateExplosion(X+2,Y+2,Z+2, 7, 10);
       CreateExplosion(X+4,Y+4,Z+4, 7, 10);
	}
	return 1;
}
Reply


Messages In This Thread
Tiny timer help! - by Swiftz - 05.05.2011, 15:11
Re: Tiny timer help! - by MadeMan - 05.05.2011, 15:28
Re: Tiny timer help! - by Swiftz - 05.05.2011, 15:32
Re: Tiny timer help! - by MadeMan - 05.05.2011, 15:36
Re: Tiny timer help! - by Swiftz - 05.05.2011, 15:39
Re: Tiny timer help! - by Swiftz - 05.05.2011, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)