Help with explosion timer
#1

When I type /boom the explosion work, I wait the 10000ms for the timer to stop, then the text in the timer "called" and the coordinates are both called and appear normally, however no explosion!!?? I am really not sure what's going on, been trying all kinds of things.

Код:
CMD:boom(playerid, params[])
{
    new Float:x, Float:y, Float:z;

    x = 38.24;
    y = -23.23;
    z = 1.17;
    
    CreateExplosion(x, y, z, 7, 13.0);

    SetTimerEx("BoomTimer", 10000, false, "fff", x,y,z);

    return 1;
}

forward BoomTimer(x,y,z);
public BoomTimer(x,y,z)
{
    SendClientMessageToAll(-1, "called");
	
    new string[32];

    format(string, sizeof(string), "%f %f %f", x,y,z);
    SendClientMessageToAll( -1, string);

    CreateExplosion(x, y, z, 7, 13.0);
    return 1;
}
Reply


Messages In This Thread
Help with explosion timer - by victory88 - 13.08.2018, 17:57
Re: Help with explosion timer - by RedRex - 13.08.2018, 18:08
Re: Help with explosion timer - by David (Sabljak) - 13.08.2018, 18:11
Re: Help with explosion timer - by Kane - 13.08.2018, 18:27
Re: Help with explosion timer - by victory88 - 13.08.2018, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)