set_task help
Hey there. So i want to set task with unique id.
id+1337 and repeat it. Alright I KNOW how to do it, but can I set_task to remove this id+1337 task in some seconds. Is it right? Code:
|
Re: set_task help
yes, why not? did you test it?
|
Re: set_task help
why not just make that task end in some seconds? no reason to make another task for it
|
Re: set_task help
PHP Code:
|
Re: set_task help
Here is a snippet on how you could do with tasks, player tasks and other tasks.
Should be usable in any plugin except if you pass an entity index as task index, if you want to pass an entity and use this, use rather task params to store the entity index. Same if you want to pass a representating number of something, use params. PHP Code:
|
| All times are GMT -4. The time now is 10:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.