having problems with set_task
i dont get it, i know it must look like this set_task ( Float:time, const function[], id = 0, parameter[]="", len = 0, flags[]="", repeat = 0 ) but i dont know how to fill it in :oops: i need to keep repeating the function "cmd_info" evry 300.0 sec with flag "b"
|
OK. Here is an example copied from my Naruto hero on superhero mod forums. (Alias: Berserker on sh mod forums)
Code:
And here it is a task that is repeated every second. This is from a heal code like Wolverine. Also on sh mod forums. Here is the thing it is calling. (naru_loop) Code:
You don't have to care about the last code that I posted but I wanted to show an example. Did that solve your problem? Code:
|
k, thx for the example (your karma script is activated xD )
|
| All times are GMT -4. The time now is 16:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.