Will this work?
#4

From what you've given us...there's no reason why it shouldn't work. Have you forwarded public C4? Are you putting the values of x, y, and z in as floats?

Код:
forward C4(x, y, z); //at the top of your script

if(!strcmp(cmdtext, "/plantc4", true))
  {
    new Float: x, Float: y, Float: z;
    GetPlayerPos(playerid, x, y, z); 
    SetTimerEx("C4",30000,false,"fff", x, y, z);
    return 1;
  }

public C4(x, y, z)
{
    CreateExplosion( x, y ,z, type, float:radius);
}
Maybe try something like that?
Reply


Messages In This Thread
Will this work? - by JoeDaDude - 27.05.2009, 17:40
Re: Will this work? - by NigNog1 - 27.05.2009, 17:42
Re: Will this work? - by JoeDaDude - 27.05.2009, 18:07
Re: Will this work? - by lol2112 - 27.05.2009, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)