Chat box auto-hide (for next GTAC update)

This commit is contained in:
Vortrex
2022-03-22 00:14:58 -05:00
parent ba50a90e20
commit 1f095a5ed0
6 changed files with 66 additions and 2 deletions

View File

@@ -938,6 +938,12 @@ function sendPlayerChatScrollLines(client, amount) {
// ===========================================================================
function sendPlayerChatAutoHideDelay(client, delay) {
sendNetworkEventToPlayer("vrr.chatAutoHideDelay", client, delay);
}
// ===========================================================================
function playRadioStreamForPlayer(client, streamURL, loop = true, volume = 0, element = false) {
logToConsole(LOG_DEBUG, `[VRR.Client] Forcing ${getPlayerDisplayForConsole(client)} to stream ${streamURL}`);
sendNetworkEventToPlayer("vrr.radioStream", client, streamURL, loop, volume, element);