Raised This Month: $ Target: $400
 0% 

Hud messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-21-2010 , 06:32   Hud messages
Reply With Quote #1

If i open 2 hudmessages in the same time 1 hudmessage hide why it hide?
Vechta is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 08-21-2010 , 09:14   Re: Hud messages
Reply With Quote #2

Because they are using the same channel ?
SpeeDeeR is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 08-21-2010 , 09:32   Re: Hud messages
Reply With Quote #3

ūse synchud's instead
platzpatrone is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-21-2010 , 09:32   Re: Hud messages
Reply With Quote #4

it's possible to make 2 different channels?
Vechta is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-21-2010 , 09:35   Re: Hud messages
Reply With Quote #5

See:

http://www.amxmodx.org/funcwiki.php?go=func&id=28
__________________
Bugsy is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 08-21-2010 , 09:43   Re: Hud messages
Reply With Quote #6

The easiest way is to set the channel to -1.
SpeeDeeR is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-21-2010 , 09:53   Re: Hud messages
Reply With Quote #7

Show your code if you cannot get it to work.
__________________
Bugsy is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-21-2010 , 09:59   Re: Hud messages
Reply With Quote #8

Quote:
Originally Posted by SpeeDeeR View Post
The easiest way is to set the channel to -1.
agree
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-21-2010 , 11:28   Re: Hud messages
Reply With Quote #9

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 ]")
Vechta is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-21-2010 , 13:07   Re: Hud messages
Reply With Quote #10

Is it working now that you set the channel to -1?
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

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 21:57.


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