tasks
um well srry by the threat but i have another question and well the other is tutorials forums.
so lets see i have a task in the function AwesomeMenu right so when i call AwesomeMenu the task start too right? the task is like seta told me set_task(10.0,"random_choose",menu_id) so i want to remove that task if the player who got the menu choose an option, the right way should be remove_task(menu_id). if im right at this moment all good. now my question is when i call again AwesomeMenu the task start again? if not how i make to started again |
Re: tasks
Just call set_task in the AwesomeMenu function.
|
Re: tasks
Quote:
This might help: PHP Code:
|
Re: tasks
Quote:
PHP Code:
|
Re: tasks
basically i have something like this. when i call again awesomemenu the task will start again?
PHP Code:
|
Re: tasks
Yes.
But you should triple-check this code. |
Re: tasks
well this is not the whole code is a little part only i post this just like an example will try and latter put my results
|
Re: tasks
What I meant is that there are plenty of syntax/logic errors on it.
|
Re: tasks
Quote:
|
Re: tasks
http://forums.alliedmods.net/showthr...54#post1122818 :oops:
My bad. Edited first post. I'm definitely going sleep now. |
| All times are GMT -4. The time now is 08:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.