Raised This Month: $ Target: $400
 0% 

HUD Messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
The Specialist
BANNED
Join Date: Nov 2006
Old 12-24-2006 , 06:25   Re: HUD Messages
Reply With Quote #4

yes. A hud message is displayed on a channel . A player has 4 channels . If you do multiple messages without swithcing channels it will over lap or something else bad .

Code:
set_hudmessage
Core (amxmodx.inc) 
Description
set_hudmessage - Sets the format for a HUD message 
Syntax
set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 ) 
Type
Native 
Notes
There are 4 hud channels pr player. This means you can send a 2 diffrent messages to player a & b via channel 1. 

Use index 0 if you want to send a message to everyone. 
Use show_hudmessage to show the message. 

Plugins that can be helpfull. 
This plugin allows you to easly change the pos/color of a hud message: 
http://www.amxmodx.org/forums/viewtopic.php?p=20785 

User Contributed Notes
www.amxmodx.org/doc
The Specialist is offline
Send a message via AIM to The Specialist
 



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 22:23.


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