Raised This Month: $ Target: $400
 0% 

Solved Zombie Plugin Hud Problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-07-2020 , 14:05   Re: Zombie Plugin Hud Problems
Reply With Quote #2

Displaying a HUD message in client_PostThink is a very bad idea. This will display the message 100 times each second. Since there can be only 4 HUD messages on the screen at a time, this will of course overwrite every other message from any other plugin, especially if you're not using ShowSyncHudMsg. I doubt you need to display the message that often. The least you could do is use a repeating task of 1 second (or 0.1 if you need it more often). Also make sure the messages are displayed on the same channel. Bear in mind that this isn't possible with DHUD.
__________________

Last edited by OciXCrom; 06-07-2020 at 14:05.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode