[Solved] How to Catch Change Team Event
How i can catch the Change Team Event?
i store the Teams in a Variable And how to catch the Teamchange and not just hook jointeam i need cs_set_user_team too Greetings :My Code: PHP Code:
|
Re: How to Catch Change Team Event
Registering jointeam in your case is a way.
|
Re: How to Catch Change Team Event
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... |
Re: How to Catch Change Team Event
Code:
Code:
|
Re: How to Catch Change Team Event
Thanks this works now
|
| All times are GMT -4. The time now is 02:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.