[Resolved] Remove task for only certain user?
Hi, I have a task set on repeat forever. Now I want to remove the task for only the certain player. How can I do this?
|
Re: Remove task for only certain user?
are you using set_task ?
Code:
You wernt very explanatory . Do you want it done on a player from a cliient command or by his name or auth_id ? So check to make suer its the player you want then use remove_task() Code:
remove_task |
Re: Remove task for only certain user?
The explanation the website gives confused me. So would using...
Code:
Here is the task that I set... Code:
|
Re: Remove task for only certain user?
It's not talking about the players id, it's talking about the tasks id. Everytime you create a task, you assign a special id (the id parameter) to it in order to keep track of it and/or modify it as in this case.
|
Re: Remove task for only certain user?
In...
Code:
What part is the special id? The site says where I put "id" at in that task is where you transfer variables? |
Re: Remove task for only certain user?
set_task(1.0, "timerCount", 12345, "",0,"b");
|
Re: Remove task for only certain user?
Quote:
|
Re: Remove task for only certain user?
Thanks everyone for clearing that up, I was really confused :P
|
| All times are GMT -4. The time now is 06:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.