Explosion Timer
#1

Im making a plant c4 command for gangs on my rp,
And when they say the command it plants explosive,
But i dont know how to get the timer to pickup the playerspos when they type the command,

pawn Код:
if (strcmp("/plantc4", cmdtext, true) == 0)
    {
      new Float:BX, Float:BY, Float:BZ;
      GetPlayerPos(playerid,BX,BY,BZ);
      ApplyAnimation(playerid,"BOMBER","BOMB_PLANT",4.1,1,1,1,1,1);
        SetTimer("C4",10000,false);
        return 1;
    }

public C4(playerid)
{
    CreateExplosion(playerid,BX,BY,BZ);
}
Any help?
Reply


Messages In This Thread
Explosion Timer - by JoeDaDude - 14.06.2009, 15:57
Re: Explosion Timer - by Grim_ - 14.06.2009, 15:58
Re: Explosion Timer - by JoeDaDude - 14.06.2009, 16:01
Re: Explosion Timer - by Grim_ - 14.06.2009, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)