Timer Problem
#1

Hello there,

How can i do this i dont understand it

"Timer ID variables should be initialized to -1 when they can to minimise the chance of accidentally killing timer ID 0 by mistake (or use timer ID 0 up at the start of OnGameModeInit)."
Reply
#2

When you
pawn Code:
KillTimer(timerVar);
Assign to it a negative value such as -1, just to avoid killing another timer with that same ID.
Reply
#3

Can you give a example
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)