AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to change/set Player in Spec? (https://forums.alliedmods.net/showthread.php?t=10314)

panza 02-15-2005 15:21

How to change/set Player in Spec?
 
When you are in Spec and press "+duck" you get a Spec Menu. In the Middle of Your Screen there is a Pop-Up-Menu where you can choose a specific Player directly.

Question: Is there a serverside-way (Function etc.) to change the Player wich is watched by a Spectator? I mean User A is in the Spec and I want send a Command to his Client like "set_spec(userA,userB)" - so UserA has to watch UserB now!

I tried a couple of Tricks (with +attack, StatusValue, get_user_aiming etc). But nothing of this works really 100%. Nothing of it is really direct! In fakemeta_const.inc I found stuff like this:

DLLFunc_SpectatorConnect
DLLFunc_SpectatorDisconnect
DLLFunc_SpectatorThink

"SpectatorThink" ? Maybe thats a Function for my Idea?

Votorx 02-17-2005 12:12

Could be, why don't you make a plugin to see what's being sent when you hook that function.


All times are GMT -4. The time now is 19:24.

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