Rphone broken ?
Last read Never
Hi !
I just bought Rphone then and i saw in the console when trying to call somone that the addon is useing +voicerecord which is a blacklisted command !
any Idas how to fix this ? or the addon is simply doomed ?
Probably needs to be converted to use CanPlayerHearVoice hook 😪
Adding this code to any clientside file should do it:
local OldRunConsoleCommand = RunConsoleCommand
function RunConsoleCommand(cmd, args)
if cmd == "+voicerecord" or cmd == "-voicerecord" then
permissions.EnableVoiceChat(cmd == "+voicerecord")
else
OldRunConsoleCommand(cmd, args)
end
end
Moved to Lua Help
Users viewing this thread
Nobody