Well I took ToT|V!PER auto restart and 'ive changed the following code:
PHP Code:
public restart_time()
set_task (get_cvar_float("amx_autorestart"),"restart_map",0)
public restart_map() {
set_hudmessage(0, 100, 200, 0.3, 0.55, 0, 3.5, 6.0, 0.1, 0.2, 2)
show_hudmessage(0,"[X] Round Restart Automatique!")
set_cvar_float("sv_restart",2.0)
return PLUGIN_HANDLED
}
public plugin_init() {
register_plugin("Auto-Restart","1.00","ToT | V!PER")
register_event("TextMsg","restart_time","a","2&#Game_C")
register_cvar("amx_autorestart","20.0")
return PLUGIN_CONTINUE
}
I've added this:
PHP Code:
new RestartHudSync
...
public restart_map() {
...
ShowSyncHudMsg(0, RestartHudSync, "[X] Round Restart Automatique!")
...
}
public plugin_init() {
...
RestartHudSync = CreateHudSyncObj()
return PLUGIN_CONTINUE
}
But i'm still facing the following problem; the hud message is too fast or we don't see it at all.
Can anyone clarify for me this:
effects, Float:fxtime, Float:holdtime, Float:fadeintime, Float:fadeouttime, in the:
set_hudmessage ( red=200, green=100, blue=0, Float

=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
__________________