Pivity

Rphone broken ?

Last read Never
#1

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 ?

#2

Probably needs to be converted to use CanPlayerHearVoice hook 😪

#3

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
Agree x 1Friendly x 1
#4

Moved to Lua Help

Users viewing this thread
Nobody