help with explosion
#1

im trying to make explsion happen at ls city hall very few secs this is what i got but it don't work the way it should

Код:
forward Kaboom();
Код:
if (strcmp(cmdtext, "/kaboom", true, 7) == 0)
{
SetTimer("kaboom", 1000, true);
format(string, sizeof(string), "** %s To Dispatch: FIRE REPORTED AT CITYHALL **", sendername);
SendRadioMessage(1, COLOR_BLUE, string);
SendRadioMessage(2, COLOR_BLUE, string);
SendRadioMessage(3, COLOR_BLUE, string);
SendRadioMessage(4, COLOR_BLUE, string);
  return 1;
}
Код:
public Kaboom()
{
  CreateExplosion(1485.4962,-1744.5206,13.5469,1,5);
  return 1;
}
sorry for been such a noob this is the 1st time i ever messed with timers and explosion's
Reply


Messages In This Thread
help with explosion - by bristan - 20.08.2009, 23:41
Re: help with explosion - by OmeRinG - 20.08.2009, 23:47
Re: help with explosion - by bristan - 20.08.2009, 23:53
Re: help with explosion - by OmeRinG - 21.08.2009, 00:03
Re: help with explosion - by bristan - 21.08.2009, 00:31
Re: help with explosion - by hannovd - 21.08.2009, 00:36

Forum Jump:


Users browsing this thread: 1 Guest(s)