I was going through the pages and found this plugin. I was wondering if someone can change it a bit for me. I want the hud message to appear without a Player having to say a command so meaning they are automatic.
Also I can you guys set the position to appear like in the image I am showing.
I want it to have 4 different hud messages with different times
1st Hud = Welcome to our server: Visit us @
www.mysite.com
Want it to appear for only 30 to 45 seconds when a player connects.
2nd Hud = Server IP: 123.3451.3232:27015
Want it to appear like every 1 to 3 minutes.
3rd Hud = Server IP: 123.3451.3232:27015
Want it to appear when player is dead and disappear till hes back alive.
4th Hud = Current Player's Money: $12,000
Want it to show under the 3rd hud when player is dead. I want it to show the current players money amount of the person the dead player is specting.
Code:
#include <amxmodx>
#include <dhudmessage>
public plugin_init()
{
register_plugin( "Test", "", "" );
register_clcmd( "say /test", "ClientCommand_Test" );
}
public ClientCommand_Test( client )
{
set_dhudmessage( 0, 160, 0, -1.0, 0.25, 2, 6.0, 3.0, 0.1, 1.5 );
show_dhudmessage( client, "Welcome, Gordon Freeman." );
}
__________________