Raised This Month: $ Target: $400
 0% 

Menu Command Scripting


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 08-01-2011 , 05:04   Re: Menu Command Scripting
Reply With Quote #4

PHP Code:
register_clcmd "say /buy""shopChooseTeam" );

public 
shopChooseTeam id )
{
       if ( 
cs_get_user_team id ) == CS_TEAM_T )
       {
               
//code for menu for T team
       
}
       else if ( 
cs_get_user_team id ) == CS_TEAM_CT )
       {
               
//code for menu for CT team
       
}

__________________
Selling:

- PointMod for Hide And Seek - $20
- Private BlockMaker with Weapon Block And More - $50
- Achievements ( FFA GamePlay ) - $25

PM Me about Private Work!
HBxander 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 03:25.


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