Raised This Month: $ Target: $400
 0% 

Dynamic Data HudMessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 07-21-2017 , 05:35   Dynamic Data HudMessage
Reply With Quote #1

Hi. So i wanted to make a hud message that will display current weapon name. So the problem is that if player changes weapon then hud message must be changed too. In this case i made a task with interval 0.2 seconds and every time it loops all players and sets hud message with current weapon name.

But i think this is not pretty efficient because if players holds a gun much time and doesnt change it often then the loop will have no sense.

I just wonder is there any method to overlap current hud by reseting the previous one or something like this?

Or maybe i can reset channel on curweapon event and set hud message back with modified message?

Last edited by siriusmd99; 07-21-2017 at 05:36.
siriusmd99 is offline
 



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 22:56.


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