hello ,
i found this plugin:
PHP Code:
public plugin_init()
{
register_message(get_user_msgid("TextMsg"), "message_TextMsg")
}
public message_TextMsg(msg_id, msg_dest, msg_entity)
{
static buffer[32]
get_msg_arg_string(2, buffer, 31)
if(equal(buffer, "#Game_Commencing") || equal(buffer, "#Game_will_restart_in"))
{
server_cmd("sv_restart 0")
server_exec() // doubt you need this ... can't hurt though.
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
But that's not what I wanted , its block only the message .
but its not block the restart map .
It is possible to block it? if it is show me how.
thx .