AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Replace/Remove Game Restart Message (https://forums.alliedmods.net/showthread.php?t=228699)

Jhob94 10-25-2013 12:36

Replace/Remove Game Restart Message
 
I need to remove/block message "Game will restart in # seconds".

DWIGHTpN 10-25-2013 12:42

Re: Replace/Remove Game Restart Message
 
PHP Code:

public plugin_init() {
        
register_message(get_user_msgid("TextMsg") , "editTextMsg");
}

public 
editTextMsg() {
        new 
string100 ];
        
get_msg_arg_string(2stringcharsmax(string));
        if( 
containi(string"#Game_will_restart") != -)
              return 
PLUGIN_HANDLED;




All times are GMT -4. The time now is 23:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.