Raised This Month: $ Target: $400
 0% 

Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 07-28-2011 , 07:02   Help
Reply With Quote #1

How can i make that people couldn't use change team menu. I tried this
from zombie plague, just edited it a bit
PHP Code:
//Forwards:
    
register_clcmd("jointeam""CTeam"); //Blocks actual team join
    
register_clcmd("chooseteam""CTeam"); //Blocks menu




public CTeam(id)
{
    
    
// Unless it's a spectator joining the game
    
if (cs_get_user_team(id) == CS_TEAM_SPECTATOR || cs_get_user_team(id) == CS_TEAM_UNASSIGNED)
        return 
PLUGIN_CONTINUE;
    
    
// Pressing 'M' (chooseteam) ingame should show the main menu instead
    
return PLUGIN_HANDLED;


Last edited by usaexelent; 07-28-2011 at 07:06.
usaexelent is offline
Send a message via Skype™ to usaexelent
 



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 01:06.


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