Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Underground" DayZ SAVE FOR OFFLINEMODE 0.63

Skilled Illusionist
Joined
Jun 19, 2014
Messages
315
Reaction score
71






timer!
you create:
Timer my_timer = new Timer (CALL_CATEGORY_SYSTEM);
run:
(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);

(10, this, "PlayerSaveSystem", NULL, true);







 
Last edited:
Skilled Illusionist
Joined
Jun 19, 2014
Messages
315
Reaction score
71
Re: Underground" DayZ SAVE FOR OFFLINEMODE 0.63

where this is need add? need more info


yes mee to need more info put i know that you will do your best
 
Newbie Spellweaver
Joined
May 28, 2017
Messages
95
Reaction score
23
Re: Underground" DayZ SAVE FOR OFFLINEMODE 0.63

adam47 - Underground" DayZ  SAVE FOR OFFLINEMODE 0.63 - RaGEZONE Forums


the function is like this on sqf:

adam47 - Underground" DayZ  SAVE FOR OFFLINEMODE 0.63 - RaGEZONE Forums


is very useful for functions that need repetitions/loop



where this is need add? need more info

I think that putting in init.c will work...
 
Back
Top