Removing Things
how do i remove a hudmessage that never disapears.
i've tried this but it wont work, PHP Code:
|
Re: Removing Things
I don't know what to tell you, exactly.
Generally, you can use a set_task() to display a hudmessage and then whenever you want you can remove_task() to stop displaying the hudmessage. |
Re: Removing Things
yea i tried that. it didn't work. i don't know why though :(
|
Re: Removing Things
Your "jugghud()" task is set inside "repeated_task()" which I guess is a... repeated task.
|
Re: Removing Things
eactly what master said, you removed the jughud task, but if yourt repeated_task() function is a reapeated task, then as soon as you stop it, the task starts a new one. You will have to remove the repeated task. Or have a global var and set it to false. and everythime you are about to make a hud check that var and only start the hud task if it is true. that way you can control the flow of the hudmessage via varriable.
i mean: Code:
|
Re: Removing Things
thank u it worked :)
|
Re: Removing Things
np
|
| All times are GMT -4. The time now is 21:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.