![]() |
Real Time - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Real Time (/Thread-Real-Time) Pages: 1 2 |
RE: Real Time - Alias - 05-24-2012 10:18 PM (05-24-2012 07:57 PM)admin phoenix Wrote: why to set a new spawn item? Yea but how to know if time is 16:00 ? RE: Real Time - admin phoenix - 05-24-2012 10:39 PM as I wrote. sphere will start every minute (you can declare the time in the sphere.ini) automaticly the function f_onserver_timer. there you can check the original time (look at your script. this command is right). RE: Real Time - Alias - 05-24-2012 11:23 PM I set timercall=1 every seccond on serv.log i get - Didn't work ... even when was 16:21 IF STRMATCH("*16:21","<rtime.hoursek>") serv.newitem i_bandage NEW.P = 4304,984 NEW.UPDATE serv.log Work !!! ELSE serv.log Didn't work endif RE: Real Time - admin phoenix - 05-24-2012 11:52 PM try serv.log <rtime.hoursek> and you will see if the time format is the same you wanna know RE: Real Time - Alias - 05-25-2012 12:08 AM Uh found working function, tyvm anyway for helping ![]() RE: Real Time - admin phoenix - 05-25-2012 01:21 AM make an reputation *g* RE: Real Time - Alias - 05-25-2012 01:59 AM (05-25-2012 01:21 AM)admin phoenix Wrote: make an reputation *g*Thanks! ![]() |