Hi friends am new to the forum and would like to know how do i block the restart of the game comencing, I have this code:
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"))
return PLUGIN_HANDLED
return PLUGIN_CONTINUE
}
Sorry for my bad english!