BXEE
BXEE

Reputation: 29

Stop All Timers in Lua (Garry's Mod)

Hello how to stop all the timers that are already launched?

I do not know how to do that so it would be nice if you could help me

Thank you in advance

Upvotes: 0

Views: 295

Answers (1)

Piglet
Piglet

Reputation: 28994

Every time you create a timer you store its unique identifier in a list.

Then you iterate over the list and call timer.stop for every identifier.

Upvotes: 0

Related Questions