AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hud messages (https://forums.alliedmods.net/showthread.php?t=135943)

Vechta 08-21-2010 06:32

Hud messages
 
If i open 2 hudmessages in the same time 1 hudmessage hide why it hide?

SpeeDeeR 08-21-2010 09:14

Re: Hud messages
 
Because they are using the same channel ?

platzpatrone 08-21-2010 09:32

Re: Hud messages
 
ūse synchud's instead

Vechta 08-21-2010 09:32

Re: Hud messages
 
it's possible to make 2 different channels?

Bugsy 08-21-2010 09:35

Re: Hud messages
 
See:

http://www.amxmodx.org/funcwiki.php?go=func&id=28

SpeeDeeR 08-21-2010 09:43

Re: Hud messages
 
The easiest way is to set the channel to -1.

Bugsy 08-21-2010 09:53

Re: Hud messages
 
Show your code if you cannot get it to work.

mottzi 08-21-2010 09:59

Re: Hud messages
 
Quote:

Originally Posted by SpeeDeeR (Post 1277776)
The easiest way is to set the channel to -1.

agree

Vechta 08-21-2010 11:28

Re: Hud messages
 
Hud message 1:
Code:

                set_hudmessage(255, 255, 255, -1.0, 0.8, 0, 6.0, 1.1, 0.0, 0.0, -1)
                ShowSyncHudMsg(id, g_MsgSync2, "Health: %d", get_user_health(id));

Hud message 2:
Code:

        set_hudmessage(192, 192, 192, -1.0, 0.03, 0, 6.0, 1.1, 0.0, 0.0, -1)
        ShowSyncHudMsg(0, g_MsgSync2, "[ Test hud ]")


Bugsy 08-21-2010 13:07

Re: Hud messages
 
Is it working now that you set the channel to -1?


All times are GMT -4. The time now is 21:57.

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