I tried something,got 6 warnings,so if anyone could help me a little bit.
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("amx_counter", "1")
}
public mess(id)
{
new timel
get_timeleft(timel,32)
if ( !get_cvar_num("amx_counter") )
{
set_hudmessage(255, 255, 255, 0.00, 0.00, 0, 6.0, 12.0)
show_hudmessage(id, "%s Remaining",timel)
return PLUGIN_HANDLED
}
}