Peace-Maker
9d07c9d74c
Check if requests for interfaces succeed
...
IBinTools might not be available if we're running on a newer SourceMod version than the extension is compiled against.
2019-04-09 18:00:58 +02:00
nosoop
9ad3aa29f3
Forgot to deduplicate client bot index
2018-11-21 22:17:36 -08:00
nosoop
29f76a6737
Lay groundwork for client language property
...
Abstract the language getter to HLTVClientWrapper::GetLanguageId so we have the option of having native setters / getters in SourcePawn to assign language.
Whether we actually do something about it, I don't know.
2018-11-19 07:57:00 -08:00
nosoop
4c38126ac3
Add translation support to SourceTV_PrintToChat
2018-11-17 23:09:10 -08:00
Peace-Maker
aefdc47d0a
Add SourceTV_SetClientTVTitle native
...
Change the stream title for a single client.
Changing tv_title resets this.
2016-11-14 03:27:38 -06:00
Peace-Maker
9f5ef34087
Fix sending messages to locally connected spectators
2016-11-14 03:09:30 -06:00
Peace-Maker
307a8037d6
Add SourceTV_PrintToConsole native
...
Print text to single spectators' console.
2016-11-14 03:09:03 -06:00
Peace-Maker
ef76571d74
Add SourceTV_PrintToChat native
...
Send chat message to one client only
2016-11-14 03:01:44 -06:00
Peace-Maker
a628aeb71e
CSGO: Fix messages and director shot natives
...
CS:GO now uses widestrings wchar_t for event strings instead of normal
utf8 ones.
2016-07-28 17:01:58 +02:00
Peace-Maker
737b2ab1d0
Fix demo recording support for CS:GO
...
The IDemoRecorder interface was heavily modified.
2016-07-07 16:27:46 +02:00
Peace-Maker
c0f634005d
Check IDemoRecorder pointer before use
...
If the pointer to the IDemoRecorder instance fails to be found after an
update, don't try to use it blindly, but check if it's not null before..
2016-04-28 15:45:20 +02:00
Peace-Maker
30a83785bf
Fix getting demo filename in csgo
2016-04-28 15:43:38 +02:00
Peace-Maker
7c0a5b501d
Fix typo inverting bLocalOnly parameter in natives
...
BroadcastScreenMessage and BroadcastChatMessage sent to local clients
only while the parameter told them not to.
2016-03-12 16:51:38 +01:00
Peace-Maker
b8c666cac0
Unify spectator client accessing native names
...
Just call them "client" instead of "spectator"
2016-03-06 14:11:33 +01:00
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
61f59c5b9b
Track spectators for each SourceTV instance seperately
2016-03-06 12:50:07 +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
4d62d77e55
Clean up some SDK calls to use SourceHook directly
...
Don't use IBinTools to call virtual functions. We're in C++! Use
SourceHook right away. This reduces in less and readable code.
2016-03-03 09:13:59 +01:00
Peace-Maker
1f45a6bd4f
Always add a new line after a console message
2016-03-03 04:13:56 +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
7e9a8d6aec
Fix linux build
2016-03-01 16:32:13 +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
3210a8d249
Add CSS support
2016-02-29 14:55:23 +01:00
Peace-Maker
e51143d05a
Initial commit of project files
...
CSGO only yet
2016-02-29 09:59:09 +01:00