Does set_task remove already set one?
I forget something about set_task. If i set a task with a specified id and then i set another one with the same id then set_task will remove the previous one or i must check with task_exists manually to remove the task and then set the new one?
|
Re: Does set_task remove already set one?
It will not remove the previous one. You always have to remove it manually.
|
Re: Does set_task remove already set one?
Quote:
He said that native set_task has the check for already present task. |
Re: Does set_task remove already set one?
Totally not true. If that was the case - you wouldn't be able to create more than one task for one player.
|
Re: Does set_task remove already set one?
PHP Code:
|
Re: Does set_task remove already set one?
Quote:
|
Re: Does set_task remove already set one?
And also /rem removes both tasks.
PHP Code:
|
Re: Does set_task remove already set one?
Quote:
|
| All times are GMT -4. The time now is 21:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.