How to call function every second?
I know it's something about set_task.
I found this, but I don't understand a few things. set_task ( Float:time, const function[], id = 0, parameter[]="", len = 0, flags[]="", repeat = 0 ) 1. Where do I need to put id if I want to make the function repeat on server and not bind on some player? 2. What is a "parameter" and "len" in set_task? Thanks |
Re: How to call function every second?
set_task(1.0, "function",_, _, _, "b")
|
Re: How to call function every second?
Thanks
|
Re: How to call function every second?
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 19:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.