Raised This Month: $ Target: $400
 0% 

cs_get_user_team , case 1 , 2 & 3??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-21-2011 , 21:54   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #1

PHP Code:
switch( cs_get_user_teamid ) )
{
    case 
CS_TEAM_CT:
    {
        
// player is on CT
    
}
    case 
CS_TEAM_T:
    {
        
// Player is on Terrorist Team
    
}
    case 
CS_TEAM_SPEC:
    {
        
// Player is in specator
    
}

__________________
fysiks is online now
Old 06-22-2011, 08:24
Dolph_Ziggler
This message has been deleted by Dolph_Ziggler.
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-22-2011 , 08:58   Re: cs_get_user_team , case 1 , 2 & 3??
Reply With Quote #3

Quote:
Originally Posted by Dolph_Ziggler View Post
you must check if team is UNNASIGNED !!!
If he doesn't want to do anything with unassigned players, he doesn't have to add that. Learn before trying to help other people.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
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 23:30.


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