Help with explosion timer
#3

I will rather try this and use global variable for x,y,z and have it multi functional. And use SetTimer not Ex

PHP код:
new Float:BoomXFloat:BoomYFloat:BoomZ//Somewhere on top

CMD:boom(playeridparams[])
{
    
BoomX 38.24;
    
BoomY = -23.23;
    
BoomZ 1.17;
    
CreateExplosion(BoomXBoomYBoomZ713.0);
    
SetTimer("BoomTimer"10000false);
    return 
1;
}

forward BoomTimer();
public 
BoomTimer()
{
    
SendClientMessageToAll(-1"called");
    new 
string[32];
    
format(stringsizeof(string), "%f %f %f"BoomX,BoomY,BoomZ);
    
SendClientMessageToAll( -1string);
    
CreateExplosion(BoomXBoomYBoomZ713.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)