Raised This Month: $ Target: $400
 0% 

set_hudmessage without disappearing?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-13-2014 , 07:23   Re: set_hudmessage bug
Reply With Quote #1

There is nothing you can do about that as there are only 4 HUD Message channels and amx_tsay and amx_psay cycle through all 4 of them.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
linuxas
Member
Join Date: Sep 2013
Old 01-13-2014 , 07:41   Re: set_hudmessage bug
Reply With Quote #2

Quote:
Originally Posted by YamiKaitou View Post
There is nothing you can do about that as there are only 4 HUD Message channels and amx_tsay and amx_psay cycle through all 4 of them.
Thats really bad... Is there a way to make message to be shown on screen all the time even when admins writes on screen?
i know some plugins where scripters do that... In example: MeRcyLeZZ "Zombie Plague mod" . In this plugin zombie class, ammo packs is showing all the time at the bottom of screen while player is alive (foto).

PHP Code:
// Show name, health, class, and ammo packs
        
set_hudmessage(255255255HUD_SPECT_XHUD_SPECT_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L %s^nHP: %d - %L %s - %L %d"ID_SHOWHUD"SPECTATING"g_playername[id], pev(idpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id]) 
I copied theese lines from Zombie Plague sma file, it seems to be the same "set_hudmessage". How do they did that then?

Last edited by linuxas; 01-13-2014 at 08:06.
linuxas is offline
Reply



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 10:08.


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