i want to create a plugin that when a player joins to my server, a welcome message appears
i also have an error and i want to fix to show the player name on hud...
Code:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#define PLUGIN "Welcome_Message"
#define VERSION "1.0"
#define AUTHOR "OxYgEn
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id)
{
set_task(12.0, "welcome", id)
}
public welcome(id)
{
set_dhudmessage(255, 165, 0, 0.05, 0.24, 2, 6.0, 1.0,0.0,0.1,false)
show_dhudmessage(id, "Welcome Player^n %s to Our Server^nEnjoy and Have FUN!^nGaming-Power Greek Community")
}
__________________