20.08.2009, 23:47
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; } |
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....