help with explosion
#2

Quote:
Originally Posted by bristan
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)
{
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
Fixed some stuff in quote....
Try messing with the explosion type and radius if it doesn't work....
And also this will create an explosion at the same place every second and won't stop until you restart the server... if you want to I'll tell you how to stop it....
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)