Ohoy, Need help with SetTimerEx or SetTimer
#4

hehe...

pawn Код:
forward fireworks();
pawn Код:
if (strcmp("/firework", cmdtext, true) == 0)
    {
     SetTimer(fireworks,2000,1);
    SendClientMessage(playerid,YELLOW,"Firework activated");
    return 1;
    }

pawn Код:
public fireworks()
{
    new flare1;
    new Float: X, Float: Y, Float: Z;
    flare1 = CreateObject(354,X,Y,Z,0,0,0); //set X , Y, Z to cordinates you want
    MoveObject(flare1,X,Y,Z+30,20); //set speed to speed of the fireworks going up

}

: error 076: syntax error in the expression, or invalid function call
Reply


Messages In This Thread
Ohoy, Need help with SetTimerEx or SetTimer - by Goobiiify - 25.10.2009, 21:08
Re: Ohoy, Need help with SetTimerEx or SetTimer - by Battleskull - 25.10.2009, 21:43
Re: Ohoy, Need help with SetTimerEx or SetTimer - by JonyAvati - 25.10.2009, 21:50
Re: Ohoy, Need help with SetTimerEx or SetTimer - by Goobiiify - 25.10.2009, 22:26
Re: Ohoy, Need help with SetTimerEx or SetTimer - by member - 25.10.2009, 22:40
Re: Ohoy, Need help with SetTimerEx or SetTimer - by Goobiiify - 25.10.2009, 23:13
Re: Ohoy, Need help with SetTimerEx or SetTimer - by Goobiiify - 26.10.2009, 01:22

Forum Jump:


Users browsing this thread: 2 Guest(s)