garrysmod-requests
garrysmod-requests copied to clipboard
A new library for SourceTV
Details
Currently, there are no functions for SourceTV, and it would be useful if there would be at least a few.
The name of the library could maybe be hltv
or sourcetv
.
Functions that would be useful:
- IsActive() (
CHLTVServer::IsActive()
) - IsRecording() (
CHLTVServer::m_DemoRecorder.IsRecording()
) - IsMasterProxy (
CHLTVServer::IsMasterProxy
) - IsRelay (
CHLTVServer::IsTVRelay
)
Functions that could be useful:
- GetClientCount (
CHLTVServer::GetClientCount
) - GetHLTVSlot (
CHLTVServer::GetHLTVSlot
) - Start (HLTV Setup)
- Stop (
CHLTVServer::Shutdown
) - Relay (tv_relay)
- StartRecord (tv_record | Could return a bool to tell if it started or failed)
- StopRecord (tv_stoprecord)
Start and Relay should probably be locked behind a command line option like hltv_lua