Posts: 242
Threads: 66
Joined: Nov 2012
Reputation:
0
Okay, I have worked on this for 3 days straight and no luck yet. I am trying to make it so when I type /nukeman it makes it so it causes a explosion on the person that types it, now I want it to spam the explosion till I type /nukeman again. So it would make like lets say 500 explosions in 60sec (Just a example). How would I do this? I have worked so hard on this and am not even close! please help me!
BTW I am using ZCMD
Posts: 242
Threads: 66
Joined: Nov 2012
Reputation:
0
what should I adjust it to?
Posts: 269
Threads: 2
Joined: May 2011
Reputation:
0
The timer, forget it...
Just do it like I posted it.
Posts: 269
Threads: 2
Joined: May 2011
Reputation:
0
Sure, I think this is the endpoint of it.
But you can simply do it with more Explosions:
Just create a for loop, for exampe for( new = i; i < 500; i++ )
Posts: 242
Threads: 66
Joined: Nov 2012
Reputation:
0
how would I add that into the script then?
Posts: 242
Threads: 66
Joined: Nov 2012
Reputation:
0
hmm, Okay It shows the explosion now but when i walk around the explosion wont follow me
Posts: 269
Threads: 2
Joined: May 2011
Reputation:
0
Follow...
This will make it a bit harder for you.
Do a timer, like in the Command, which repeats after a time, example: SetTimerEx("ExplodeRepeat", 1000, true, "i", playerid);
In this public, you create the Explosion with the defined Position...