Code:
#include <amxmodx>
#define PLUGIN "New Plug-in"
#define VERSION "1.0"
#define AUTHOR "eDward /R/"
new site
#define TASK_INTERVAL 3.0
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR );
set_task( TASK_INTERVAL, "RandomHudWithRandomColors", 0, "", 0, "b" );
site = register_cvar("amx_site","www.laleagane.ro");
}
public RandomHudWithRandomColors()
{
new timeleft = get_timeleft()
new map[33]
get_mapname(map,32)
new forum[51]
get_pcvar_string(site,forum,50)
set_hudmessage( 65,89,255, -1.0, 0.04 )
show_hudmessage( 0, "TimeLeft: %d:%02d | %s | Harta: %s", timeleft / 60, timeleft % 60, forum, map )
}
it„s not working man