SphereCommunity
Timerf - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Timerf (/Thread-Timerf--5801)



Timerf - DartHVirS - 02-06-2018 06:17 AM

Hello guys

How can I run a function using timerf but without running it from a player or an item.

For example from f_onserver_timer or other automated function executed by the server.

because the console says "Undefined keyword 'timerf'"


RE: Timerf - darksun84 - 02-06-2018 09:46 AM

Open sphere.ini and check this line
// Amount of minutes to call f_onserver_timer (0 disables this, default)
TimerCall=0

F_onserver_timer functio can be found in sphere_serv_triggers.scp


RE: Timerf - DartHVirS - 02-06-2018 10:59 AM

(02-06-2018 09:46 AM)darksun84 Wrote:  Open sphere.ini and check this line
// Amount of minutes to call f_onserver_timer (0 disables this, default)
TimerCall=0

F_onserver_timer functio can be found in sphere_serv_triggers.scp

f_onserver_timer works fine, it run the function. However the function can not run the timerf because it is not triggered by a char or item.