Detect when player chose a class
I need to detect when a player chose a skin in Counter-Strike 1.6 so I can change his name.
So far I noticed that join_team event is triggered twice, once when user chooses the team and second time when he chooses a skin . |
Re: Detect when player chose a class
if it is like that, first time triggered - set a variable to 1 & second time on 2, when second time executed, change his name.
|
Re: Detect when player chose a class
check the client command joinclass.
|
Re: Detect when player chose a class
Quote:
|
Re: Detect when player chose a class
Quote:
You should be able to register the client commands "jointeam" and "joinclass". |
Re: Detect when player chose a class
He must have been talking about the log event.
|
| All times are GMT -4. The time now is 13:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.