29.07.2010, 03:52
new explosionsleft = 3;
public CreateExplosions()
{
if(explosionsleft != 0)
{
CreateExplosions(playerid,...);
SetTimer(...) //make it do it again
explosionsleft--;
}
else if(explosionsleft == 0)
{
KillTimer(...);
explosionsleft = 3;
}
return 1;
}
public CreateExplosions()
{
if(explosionsleft != 0)
{
CreateExplosions(playerid,...);
SetTimer(...) //make it do it again
explosionsleft--;
}
else if(explosionsleft == 0)
{
KillTimer(...);
explosionsleft = 3;
}
return 1;
}