Raised This Month: $ Target: $400
 0% 

[Solved] How to Catch Change Team Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Elusive138
Senior Member
Join Date: Dec 2010
Old 01-13-2011 , 09:26   Re: How to Catch Change Team Event
Reply With Quote #3

http://wiki.alliedmods.net/Half-Life...vents#TeamInfo

Use with register_event. TeamInfo is sent to all players (I think) to let themknow someone has changed teams. Use read_data(1) to get id, and read_data(2) to get team name.

Also, you should be using a switch instead of if...else if. Definitely do not call cs_get_user_team 4 times...
Elusive138 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 02:13.


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