Raised This Month: $ Target: $400
 0% 

Need help finding team name for coding


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tww917
Member
Join Date: Mar 2014
Old 04-05-2014 , 18:17   Need help finding team name for coding
Reply With Quote #1

Where is the team name located for coding plugins?
For example in css it is known as simply TEAM_CS.

I tried gameevent.res serverevents.res modevents.res
No luck so far
tww917 is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 04-05-2014 , 19:43   Re: Need help finding team name for coding
Reply With Quote #2

Usually team numbers as 2 (terrorist) and 3 for (counter-terrorist) , may be different in TF2 idk.
__________________
ecca is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-06-2014 , 00:19   Re: Need help finding team name for coding
Reply With Quote #3

What exactly do you mean by "team name"? Do you mean the enums/defines indentifying the teams? Here they are for CS and TF2 (in cstrike.inc and tf2.inc, respectively)
PHP Code:
#define CS_TEAM_NONE        0    /**< No team yet. */
#define CS_TEAM_SPECTATOR    1    /**< Spectators. */
#define CS_TEAM_T             2    /**< Terrorists. */
#define CS_TEAM_CT            3    /**< Counter-Terrorists. */ 
PHP Code:
enum TFTeam
{
    
TFTeam_Unassigned 0,
    
TFTeam_Spectator 1,
    
TFTeam_Red 2,
    
TFTeam_Blue 3    
}; 
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
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 03:23.


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