Scripted Smoke
#1

Guys I scripted some smoke quickly for the army in my script, but timers have been a pain in the ass.

I want it so it disappears six seconds after you plant it, but I can't get it to work code:

Код:
  GetPlayerPos(playerid, cx, cy, cz);
      ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
      CreateObject(2780, cx, cy-3, cz, 90, 90, 90);
	  DestroyObject(2780); // There shall be a timer before this I made one but it didn't work so I deleted it here
I only showed the vital part of the good as the rest won't matter.


If you can help me thanks,

Jeroen.
Reply


Messages In This Thread
Scripted Smoke - by playbox12 - 09.05.2010, 16:32
Re: Scripted Smoke - by Conroy - 09.05.2010, 16:37
Re: Scripted Smoke - by playbox12 - 09.05.2010, 16:45
Re: Scripted Smoke - by Conroy - 09.05.2010, 16:58
Re: Scripted Smoke - by Sergei - 09.05.2010, 17:02
Re: Scripted Smoke - by Torran - 09.05.2010, 17:02
Re: Scripted Smoke - by Conroy - 09.05.2010, 17:06
Re: Scripted Smoke - by Sergei - 09.05.2010, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)