FM_Time
I found no info about this forward after searching long time .
it is used in register_forward ( fakemeta ) can you give me some information about when it is called and how do you handle callback function ( what values we can assign to it ) thanks. |
Re: FM_Time
FM_Time is the total uptime of the server. It needs no arguments from what I see in the source:
Code:
and it is natively calling engfunc: Code:
Code:
So what we have so far? You have several ways of doing this:
Code:
|
Re: FM_Time
no message in game
Code:
|
Re: FM_Time
This is because time is not get called in game, what you trying to do with it?
|
Re: FM_Time
Excuting a function in an specific time. ( 4 AM for example )
|
Re: FM_Time
you can try with ServerFrame no?
PHP Code:
|
Re: FM_Time
I think this is better than hooking server_frame , but i thought if i can do something better with FM_Time
Code:
|
Re: FM_Time
How so it's better?
|
Re: FM_Time
server frame is called many times per second while the ent think is almost called every 1 hour.
function will be called in a time between 00:00:00 and 00:00:10 Code:
|
Re: FM_Time
So what about set_task? What's wrong with it
It also doesn't consume entities... |
| All times are GMT -4. The time now is 02:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.