cb_dev
March 17, 2023, 8:08pm
1
Hello,
Today I am releasing a FREE megaphone script for FiveM Community!
Showcase :
Features :
Requirements :
qb-core OR ESX
VOIP scripts
NOTE: Yes it DOES change your voice and it will sound like you are talking via megaphone.
Download :
https://cb-development.tebex.io/category/2345992
Hello,
Today I introduce a garbage collection job which works with player groups!
Showcase :
[[QB] cb-garbagejob for ps-playergroups]
Purchase :
https://cb-development.tebex.io/category/2345992
Features :
Drag and Drop installation
Configurable number of locations and number of bins required to finish the job.
A lucky drop every time you put a garbage bag in trash truck (Configurable % and items)
Configurable rewards (You can configure them and limit the rewards if they have…
Code is accessible
Yes
Subscription-based
No
Lines (approximately)
40~
Requirements
qb-core/ESX, mumble/pma-voice, Emote Menu
Support
Yes
8 Likes
sounds like an awesome script , i’d be down to use it for my esx server ! could it work for pma-voice tho ?
cb_dev
March 17, 2023, 8:34pm
3
Yes it does work on pma-voice
Would love it for my esx legacy server
cb_dev
March 17, 2023, 8:38pm
5
You just need to add the item and add the code in. I don’t have ESX server or it would take 2 minutes to do
1 Like
You can test it on my dev server if wanted
if you want to use it for esx simply change this in server.lua
ESX = exports[‘es_extended’]:getSharedObject()
ESX.RegisterUsableItem(‘megaphone’, function(source, item)
TriggerClientEvent(‘megaphone:use’, source)
end)
1 Like
You could make it multi framework, instead of uploading two files to the server.
Add file config.lua
Config = {}
Config.Framework = 'esx' -- esx, qb-core,
and add to server.lua the following.
if Config.Framework == 'qb-core' then
QBCore = exports['qb-core']:GetCoreObject()
QBCore.Functions.CreateUseableItem('megaphone', function(source, item)
TriggerClientEvent('megaphone:use', source)
end)
elseif Config.Framework == 'esx' then
ESX = exports['es_extended']:getSharedObject()
ESX.RegisterUsableItem('megaphone', function(source, item)
TriggerClientEvent('megaphone:use', source)
end)
end
I have not tested it but it should work.
Nice release !
Why not make a release without scully dependency?
I can do it if you are ok
Interesting script.
I hope player don’t abuse this🤦🏻♂️
Nice work.
Keep it up.
An edit of your script without scully dependencies for ESX
1 Like
check github I made some changes
1 Like
1wxndr
March 18, 2023, 2:48am
17
How could I increase the range the megaphone is heard? Would that have to be done via pma-voice config?
cb_dev
March 18, 2023, 11:25am
18
It does not have scully emote dependency. It is just a custom emote from scully. You can have any emote menu, but just need to add the custom emote in it.
cb_dev
March 18, 2023, 11:26am
19
The range is depended on what is your current voice range. This script just adds the custom voice filter on top of client’s voice. The range and everything is done with proximity change.
cb_dev
March 18, 2023, 2:34pm
20
Update :
Fixed the game breaking issue with the script. It was applying filter to the output of the client. Now it applies filter to the microphone of the player.
Download it from GitHub GitHub - cbdev9/Megaphone-for-FiveM: A megaphone script for FiveM Servers