set_dhudmessage forever?
Hello,
How do I make a dhudmessage to stay forever, or until the same ID is re-used? Right now it just shows really quickly so I can't see the text. The code is used for when you look at player, it shows player name in HUD, but I want it to only be there when you look at player. Code:
set_dhudmessage(34, 49, 255, -1.0, 0.60, 1, 0.01, 0, 0.01, 0.01, false) |
Re: set_dhudmessage forever?
You should check if player look at player and if he do, use set_dhud.
Also you should make the effect 0. PHP Code:
|
Re: set_dhudmessage forever?
Of course it disappears right away when you set its duration to 0.
Read - https://www.amxmodx.org/api/amxmodx/set_dhudmessage |
| All times are GMT -4. The time now is 12:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.