Raised This Month: $ Target: $400
 0% 

block Game Comming ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr.Waffle
Senior Member
Join Date: Dec 2011
Old 12-29-2011 , 18:48   block Game Comming ?
Reply With Quote #1

hello ,
i found this plugin:
PHP Code:
public plugin_init()
{
    
register_message(get_user_msgid("TextMsg"), "message_TextMsg")
}

public 
message_TextMsg(msg_idmsg_destmsg_entity)
{
    static 
buffer[32]
    
get_msg_arg_string(2buffer31)
    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 .
Mr.Waffle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:46.


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