This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Citizen.CreateThread(function() | |
while true do | |
local idle = 1000 | |
if tk then | |
idle = 1 | |
local players = vRP.nearestPlayers(40) | |
if players then | |
for serverId, distance in pairs(players) do | |
MumbleSetVolumeOverrideByServerId(serverId, 30.0) | |
MumbleAddVoiceChannelListen(serverId) |