AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Spec check (https://forums.alliedmods.net/showthread.php?t=140857)

denis_dnl 10-17-2010 04:52

Spec check
 
Hello!
I'm trying to make a plugin that announce in chat when a player enters spectator. I used cs_get_user_team register_event(spectator or txtmsg but in all situation i have the same problem. My plugin doesn't make the diference between dead players and spectators players(teammenu->spectator).
Could you please tell me a solution for this problem? How can i check if a player entered Spectator only with teammenu->spectator and not when it's dead. I would prefer an event that is called only when a player changes his team to spectator if is possible.
Thank you

fysiks 10-17-2010 12:15

Re: Spec check
 
Either register jointeam or TeamInfo.


All times are GMT -4. The time now is 10:21.

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