Raised This Month: $ Target: $400
 0% 

Solved Showing HUD to every player on server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RAW_192
Senior Member
Join Date: Feb 2017
Old 07-09-2017 , 10:46   Showing HUD to every player on server
Reply With Quote #1

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("abc""1.0""..");
    
register_clcmd("hi""HI");
}

public 
HIclient )
{
    
set_hudmessage016040, -1.00.25510.010.00.11.5 );
    
show_hudmessageclient"Message" );
    

Is this the right way to show message to everyone in server ?

Last edited by RAW_192; 07-09-2017 at 15:03.
RAW_192 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-09-2017 , 10:58   Re: Showing HUD to every player on server
Reply With Quote #2

show_hudmessage( 0, "Message" );
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-09-2017 , 12:26   Re: Showing HUD to every player on server
Reply With Quote #3

As long as everyone is expected to see the same HUD text, then yes pass a 0 in param 1. If they each need a unique message specific to the player, then you need to loop through all players formatting/displaying to each user id.
__________________
Bugsy is offline
RAW_192
Senior Member
Join Date: Feb 2017
Old 07-09-2017 , 13:30   Re: Showing HUD to every player on server
Reply With Quote #4

Ok Thanks..

Btw is there any way to increase text size ?
RAW_192 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-09-2017 , 13:40   Re: Showing HUD to every player on server
Reply With Quote #5

Search "dhud"
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
RAW_192
Senior Member
Join Date: Feb 2017
Old 07-09-2017 , 14:28   Re: Showing HUD to every player on server
Reply With Quote #6

I know about dhud.. But didn't find any option to increase text size
RAW_192 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-09-2017 , 14:50   Re: Showing HUD to every player on server
Reply With Quote #7

Dhud is the largest text you can use.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
RAW_192
Senior Member
Join Date: Feb 2017
Old 07-09-2017 , 15:03   Re: Showing HUD to every player on server
Reply With Quote #8

Ohh ok thanks
RAW_192 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 22:44.


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