Raised This Month: $ Target: $400
 0% 

Only when being terrorist or CT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-07-2010 , 23:12   Re: Only when being terrorist or CT
Reply With Quote #6

If you're only using a value once, no need to create a variable.
PHP Code:
switch( cs_get_user_teamid ) ) 
You can also do something like this.
PHP Code:
new CsTeams:iTeam cs_get_user_teamid );

if ( 
CS_TEAM_T <= iTeam <= CS_TEAM_CT )
    
client_printid print_chat "I am a %s" iTeam == CS_TEAM_T "Terrorist" "CT" ); 
I don't understand completely what you are trying to do. If you can explain better we can help better.
__________________

Last edited by Bugsy; 03-07-2010 at 23:21.
Bugsy 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 08:40.


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