[Release] [ESX] [VRP] In-Game Police Radio

do you use ESX or VRP ?

ESX Framework

did you download the newest release?

Yes i did. Version 1.2.0

Fixed

Thanks for your time

Thank you!! :wink: <3

Could be nice if you make a way to choose between gang radio, EMS and police radio. Police and EMS should be able to talk to each other on the radio.

Change ‘if xPlayer.job.name ~= nil and xPlayer.job.name == “police” then’
to

‘if xPlayer.job.name ~= nil and (xPlayer.job.name == “police” or xPlayer.job.name == “ambulance”) then’

1 Like

And if i want to change it for everyone I just have to change it to

if xPlayer.job.name ~= nil and xPlayer.job.name == “job” then

Thanks in advance :slight_smile:

No
Dont do it like that

Everyone can hear each other on the server Then

You dont want that I think ^^

Is exactly that i want :smiley: Because im using the script you made, which radio is an item. I want it to be like when you have the radio, you have access to the radio and be able to hear or talk.

Does this work on oneSync as well?

Then do it without any if xPlayer.job.Name

Remove the line then

Ya i see, its better :smiley:

To all of you guys, for now I cant find a fix for the multiple sound bug. If you have ideas, feel free to upload updates (commit)

I had the problem that when I had between 25 people and the police used the radio there was a lot of delay on the server, and the radio was bugged, it was heard in all the players

Hello, pleas help me!

‘if xPlayer.job.name ~= nil and (xPlayer.job.name == “police” or xPlayer.job.name == “ambulance”) then’

where I can find the jobs on the base date for use in job.name. My server is in vRP

This is ESX. Please read! You need the vrp radio

1 Like

Any way to listen to the radio just when it comes into service?