![]() |
|
E2: How to stop timers looping? - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html) +--- Thread: E2: How to stop timers looping? (/thread-2472.html) |
E2: How to stop timers looping? - Ethan Vondwarf - 21-10-2017 I'm currently working on a project that is an E2 i'm designing and i have a problem with a timer. Is there a way to stop a timer as soon as it called to make it not loop? RE: E2: How to stop timers looping? - Kosmos - 21-10-2017 According to https://github.com/wiremod/wire/wiki/Expression-2 timers only trigger once anyway. Note: you're probably just calling the timer function again, in this case you'd have to stop doing that. RE: E2: How to stop timers looping? - Ethan Vondwarf - 21-10-2017 its in a interval and it has to be in order to function so is there any way to stop it RE: E2: How to stop timers looping? - Firestorm - 22-10-2017 would not a simple IF ELSE statement be of use. i.e. IF variable THEN do stuff ELSE do stuff END |