Raised This Month: $ Target: $400
 0% 

[Help!] Jointeam VGUI/OLD style menus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 12-02-2010 , 01:32   Re: [Help!] Jointeam VGUI/OLD style menus
Reply With Quote #2

you can do it this way:
PHP Code:
public plugin_init(){
    
register_message(get_user_msgid("ShowMenu"), "message_show_menu")
}

public 
message_show_menu(msgiddestid) {
    new 
tmp[32]
    
get_msg_arg_string(4tmp31)
    if(
contain(tmp"#Team_Select")==0){
        
//join team menu
        //return PLUGIN_HANDLED to block it
    
}else if(contain(tmp"#CT_Select")==|| contain(tmp"#Terrorist_Select")==0){
        
//join class menu
        //return PLUGIN_HANDLED to block it
    
}
    return 
PLUGIN_CONTINUE

__________________
Impossible is Nothing
Sylwester is offline
 



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 11:23.


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