To help streamline things a bit around here (for the little work we actually do 😅), I’m going to be archiving the repos listed below. This doesn’t mean they’re broken or unusable, it just means we won’t be pushing any further updates to them for now.
Our main focus moving forward will be ps-mdt v3 and its dependencies.
Script to enhance as a microphone/loudspeaker when an user enters a define zoned.
-
Download file and make sure it's named ps-microphone
-
Ensure ps-microphone
-
Add image to your inventory folder for the megaphone.
-
Add to qb-core > shared > items.lua
["megaphone"] = {["name"] = "megaphone", ["label"] = "Megaphone", ["weight"] = 20000, ["type"] = "item", ["image"] = "megaphone.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "A loudspeaker to yell at civilians."},
- Add more zones under the Config.MicrophoneZones
Config.MicrophoneZones = {
[1] = {
name = "vinewood_bowl", -- unique name of the zone
coords = vector3(683.37, 569.31, 130.46), -- coords of the created boxzone
length = 3.4, -- length of the created boxzone
width = 3.6, -- width of the created boxzone
spawnProp = true, -- if set to true, it will let you spawn the prop at location
data = {
debugPoly = Config.Showzone,
heading = 340, -- heading from created boxzone
minZ = 127.86, --minZ from the created boxzone
maxZ = 131.86, -- maxZ from the created boxzone
data = {
range = 50.0 -- range for the voice at that particular boxzone
}
}
}
}- Latest pma-voice
- ps-zones
- lj-inventory
