09.05.2010, 16:32
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:
I only showed the vital part of the good as the rest won't matter.
If you can help me thanks,
Jeroen.
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
If you can help me thanks,
Jeroen.