Raised This Month: $ Target: $400
 0% 

Game Commening


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bello
BANNED
Join Date: Jun 2010
Old 06-16-2010 , 20:17   Re: Game Commening
Reply With Quote #1

Hello a question i have this code for blocked game comencing:

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"))
            return 
PLUGIN_HANDLED
    
        
return PLUGIN_CONTINUE
    

The code eliminates the game comencing, but does not eliminate the restart that runs the game comencing as could eliminate the restart that runs the game comencing?
Bello 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 14:47.


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