Getting spectators name
Hey, is it possible to get a player that is spectating team ???
it's like new spectator if(!is_user_alive(spectator)) new szSpecName[33] get_user_name(spectator, szSpecName, 32). But how to check a player that is playing and being spectated by a spectator... |
Re: Getting spectators name
get_user_aiming()
|
Re: Getting spectators name
get_user_aiming works when they are spectating someone? Interesting...
|
Re: Getting spectators name
Yeah, it returns the Spcetated Players ID, because the Spectator is actually aiming the Player.
|
Re: Getting spectators name
You can get id of player being spectated using pev_iuser2.
Example: http://forums.alliedmods.net/showthread.php?p=408500 |
Re: Getting spectators name
another Solution, thanks =)
|
Re: Getting spectators name
Quote:
|
Re: Getting spectators name
I tested it... :twisted:
|
Re: Getting spectators name
Quote:
|
| All times are GMT -4. The time now is 10:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.