Skilled Illusionist
- Joined
- Jun 19, 2014
- Messages
- 315
- Reaction score
- 71
You must be registered to see links
You must be registered to see links
You must be registered to see links
You must be registered to see links
timer!
you create:
Timer my_timer = new Timer (CALL_CATEGORY_SYSTEM);
run:
You must be registered to see links
(5, this, "my_function", NULL, true); , where:
5 - the interval in seconds
my_function - the function that will be launched
Type: void my_function () {............................ .....}
true - repeat endlessly. if replaced by false - then execute once
NULL - if it does not need parameters, otherwise param
stop: my_timer.Stop;
then in Init () it is necessary to add:
Timer my_timer = new Timer (CALL_CATEGORY_SYSTEM);
You must be registered to see links
(10, this, "PlayerSaveSystem", NULL, true);
Last edited: