Commit Graph

10 Commits

Author SHA1 Message Date
Peace-Maker
00c6f56c69 Add SourceTV_IsClientProxy native
See if a spectator is a SourceTV relay client.
2016-03-06 14:09:10 +01:00
Peace-Maker
fabdbe7d12 Refactor SourceTV instance hooking
Keep the instances in seperate wrappers to clear up the hooks. This
allows for some OnServerStart and OnServerShutdown forwards.

To prepare support for relay servers, CHLTVServer::Shutdown is hooked to
detect shutdown instead of relying on the director unregistering the
instance.
2016-03-06 12:16:38 +01:00
Peace-Maker
fb03d5f2d5 Add natives to get SourceTV ip and port 2016-03-03 12:28:49 +01:00
Peace-Maker
55ef2a1eeb Add SourceTV_OnSpectatorPutInServer forward 2016-03-03 07:23:49 +01:00
Peace-Maker
d03b22abf6 Add SourceTV_BroadcastChatMessage native
Add option to send messages to locally connected spectators only or to
replay proxies as well.
2016-03-03 04:13:21 +01:00
Peace-Maker
c0eb6eb75f Add natives to get client ip and connect password
The hltv server doesn't provide a nice IPlayerInfo interface to get
stuff. Have to grab it and hold on to it while we can!
2016-03-03 02:47:06 +01:00
Peace-Maker
4bb751afaf Add ClientConnect and Disconnect forwards
Let plugins know when new spectators join or leave the SourceTV server.
2016-03-02 23:23:53 +01:00
Peace-Maker
d5424cefdf Add native and forward documentation to include file
Rename some natives for better self explanatory.
2016-03-01 15:00:27 +01:00
Peace-Maker
28d76b41e5 Add natives to force a camera shot
Override the autodirector and tell him what to show. Fixpoint camera or
chasing a player for now.
2016-03-01 02:19:19 +01:00
Peace-Maker
e51143d05a Initial commit of project files
CSGO only yet
2016-02-29 09:59:09 +01:00