General > Developers Corner

Countdown Command

<< < (2/2)

XxLMM13xX:
That would be awesome i want to see it for a example!

Caustic Soda-Senpai:
Alright I've got it figured out and tested, works 100%. Took a while to get it to loop right though. First time it ended up kicking me right out of gmod.

My solution was a few if/else statements along with a timer.Create with its own if/else statement telling it to loop back on itself if the var hasn't reached 0. So it was kindof a spin of JamminR's idea and mine. With some messing around I was also able to make an abort counter-part in case you didn't actually WANT to restart.

I'll post the final product in the release section.

Navigation

[0] Message Index

[*] Previous page

Go to full version