[resolved]Set a hudmessage indefinitely.
I don't want to use set_task(0.1, ...) because I want a hudmessage on the player's screen at all times so I don't need a function to execute every tenth of a second.
All the combinations of values for set_hudmessage()'s holdtime make no difference. I don't see why the value is even included. This plugin displays a hudmessage for a fraction of a second, every second. The holdtime is 2.0 seconds... ??? I changed fxtime to 0.0, 0.1, no difference. Code:
|
Re: Set a hudmessage indefinitely.
From my testing, it seems that you have to use set_task(0.1, ...) with hudmessages. Lame.
I say [resolved] because I just used the set_task(0.1, ...) and it works just as it should. I was hoping hudmessages worked differently. |
Re: [resolved]Set a hudmessage indefinitely.
u mean holdtime param can not exceed 2 secs?!
fx_time is implemented only if effects param is not 0 (see HLDSK). |
Re: [resolved]Set a hudmessage indefinitely.
status messages is displayed constantly on the players screen with out using CPU exspensive set_task functions :wink:
|
| All times are GMT -4. The time now is 06:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.