Help with HUD
I need to display a HUD message which stays permanently on the screen and will update automatically, when some variable's value changes.
Example Plugin:Show Admins Online I went through its source and found sync-hud, but I'm new to scripting and din't get the mechanism to use it. Also it had some register_think value which I don't understand yet. Tried to search about sync-hud but couldn't find any useful info. Can someone explain how the sync-hud works? |
Re: Help with HUD
What you try to do?
|
Re: Help with HUD
Quote:
|
Re: Help with HUD
The flag "b" is to be replayed forever, you can stop de task seting an ID and make remove_task(ID)
PHP Code:
|
Re: Help with HUD
Quote:
I was actually looking forward to learn the sync-hud method. Plus this one includes set_task which will be CPU consuming. Sync-hud method, which I observed didn't use set_task. Quote:
|
Re: Help with HUD
Code:
public plugin_init() |
Re: Help with HUD
Quote:
Please suggest a display using sync-hud only. |
Re: Help with HUD
PHP Code:
|
Re: Help with HUD
Quote:
There was more sync hud stuff which i saw, than this statement. And more importantly how to use it to update the value automatically :?: |
Re: Help with HUD
Why you want to use synchud and you don't want to use set_hudmessage?
|
| All times are GMT -4. The time now is 06:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.