Jump to content

Attempt to call global 'setPlayerVoiceBroadcastTo'


xUltimate

Recommended Posts

Posted (edited)

I downloaded MTA 1.1-unstable and when I start the voice resource I get this error

ERROR: voice/sDefaultChannelManager.lua:33: attempt to call global 'setPlayerBroadcastTo' (a nil value) 

Heres the part where its getting the error

function setPlayerInternalChannel ( player, element, muted ) 
    if playerChannels[player] == element then 
        return false 
    end 
    playerChannels[player] = element 
    channels[element] = player 
    setPlayerVoiceBroadcastTo( player, element, muted ) --Line 33 
    return true 
end 

Edited by Guest
Posted

in your error there is

setPlayerBroadcastTo

but on your script is

setPlayerVoiceBroadcastTo

i assume another part of script is triggering this error. and you should see the typo (i assume setPlayerVoiceBroadcastTo is the right function name, you are using setPlayerBroadcastTo instead)

Posted
in your error there is

setPlayerBroadcastTo

but on your script is

setPlayerVoiceBroadcastTo

i assume another part of script is triggering this error. and you should see the typo (i assume setPlayerVoiceBroadcastTo is the right function name, you are using setPlayerBroadcastTo instead)

lol. i was typing it while looking at the server i meant to add the Voice in it.

Posted
Hello,

The new MTA Voice isn't in 1.1-unstable yet.

x86

Well I don't know where I got it then because it was in my resources. :/

The voice branch is still in development, you can't hear eachother atm.

Posted
Hello,

The new MTA Voice isn't in 1.1-unstable yet.

x86

Well I don't know where I got it then because it was in my resources. :/

The voice branch is still in development, you can't hear eachother atm.

Oh.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...