13.08.2018, 17:57
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;
}

