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

Good Evening Ladies & Gentleman,

I WILL NO LONGER PROVIDE SUPPORT FOR THAT SCRIPT

This is a release of my Walkie-Talkie / Police Radio

I implemented interact sound in this Script.

Usage:
Press and hold Y on your keyboard to speak. An animation will be triggered which shows a police officer holding his radio. Be careful while talking to your collegues. Other Persons that are nearby can listen to it.

When using the Radio, a little radio sound will be played, when releasing it aswell.

Video Showcase (Without Talking)

If you have some, feel free to send them to me.

VOICE ACTIVATION ONLY!

For any bugs or things that don’t work, please reply to this thread.

Known Bugs or things that don’t work

  • Nearby People can’t hear the voice of the radio (removed)

ESX-Radio Changelog

  • 1.1.0 released, radio Item has been added
  • 1.2.0 released, removed the animation on cops that don’t use the radio.

VRP-Radio Changelog

  • 1.1.0 released, radio Item has been added
  • 1.2.0 released, you can decide now between group Cop and Permission “radio.police”
  • Fixed a bug, where people could use the Y key and cops hear the radio sound

[ESX] The item is as an sql file in the files. Please add the line manually to ur table “items”

Kindly Regards
DNP

28 Likes

Is it just for "police"job or all players?

Just for Police, because its not working with voice channels, its only working with proximities. But I can do it for all players too, if you want ^^. Maybe I will work on that.

1 Like

Nice Release…
But Need Some Little Things.
Like Global Police Radio.

/r (Message)
Sent to all online Police Officer’s.

Like This.

2 Likes

Could you maybe add esx to the title. I got excited when I saw the post but then realized it was esx

1 Like

? I dont know what you mean with “Global Police Radio”

/r is pretty simple to do, maybe I will do that aswell :wink:

you want it for vrp aswell?

I want :slight_smile:

Thank man have a nice day

u2 :wink:

1 Like

I will work on it :slight_smile:

Maybe this radio for ems

Do you like it, that EMS and Police are having the same channel, or do you like it, that EMS has their own private one?

2 Likes

Anyway you can make it for regular FiveM?

Would u be able to make a standalone version where you can like change channel with a command or a menu?

I will work on a standalone version with voice channels if you want guys

2 Likes

yeah pls.

got a little error with the esx_radio

Stopping resource esx_radio
Started resource esx_radio
Error running system event handling function for resource esx_radio: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:41: attempt to index a nil value (local ‘xPlayer’)
stack traceback:
server/main.lua:41: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:

thanks, will look into it.

EDIT: Are you alone while testing it?, if yes, then it’s no error, because this is checking players nearby.

so you press Y and a hand comes up and radio noise but other police across the map cant hear me?

they should