In order to ensure a successful installation, please follow the instructions very carefully.
Dependencies
oxmysql
Installation
Download the latest build of oxmysql (not the source code).
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Required version
Your oxmysql version must be 2.0.0 or above in order to work with our system.
Use the built version
Make sure you have downloaded the built version of oxmysql! If you download the source code, then the resource won't start and queries are unable to execute.
The built version can be downloaded from the releases page (oxmysql.zip).
ox_lib
Installation
Download the latest build of ox_lib (not the source code).
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Use the built version
Make sure you have downloaded the built version of ox_lib! If you download the source code, then it won't function correctly and the application will have problems.
The built version can be downloaded from the releases page (ox_lib.zip).
Installing the resource
Make sure you have the dependencies listed above installed.
Extract the contents of the archive to your resources folder.
Ensure the resource is set to start up with the server.
Framework
If you're using QB, QBX or ESX, your framework will be automatically detected.
For other frameworks, please follow the provided instructions:
Using other frameworks
Firstly, in editable_shared/config.lua change the framework to CUSTOM.
Secondly, in editable_server/framework.lua, go to the supportedFrameworks variable and fill in the following:
resourceName
loadFramework
prepareInventory
giveItem
removeItem
getCash
removeCash
getIdentifier
getVehicleIdentifier
getLoggingText
Youtube API key
Fill out youtubeApiKey in editable_server/config.lua.
We have detailed insturctions on how to obtain the API key at ī¸2ī¸âŖ Obtaining Youtube API key. We recommend following those instructions carefully to get your API key.
Using the resource
Use the command /speakers in-game to open the speaker creation menu.
Speaker types
Speaker types grant you access to an unlimited amount of different, customizable speakers, each with their own unique properties, such as different 3D models, audio filters and many more.
A set of predefined speaker types will be automatically generated for your comfort and in order to demonstrate the endless abilities of our resource.
đŠUse the command /speakertypes to create new or edit existing speaker types.
đ§ Using forced filters
For maximum immersion we have introduced a unique funcionality.
Forced filters are filters that automatically apply audio effects to speakers in specific situations.
Types of forced filters:
âAlways on - applied always, regardless of context.
âInterior difference - applied the speaker and player are in different interiors.
âVehicle based - applied when the speaker is inside a vehicle with closed windows/doors.
When creating new speaker types, you can customize filter intensity and other parameters.
âī¸ Permissions
When creating new speaker types, permissions are a required field. Here's a list of available permissions and their functions:
PERMISSION_QUEUE: Enables queue usage
PERMISSION_CARRY: Allows carrying (requires attachData in speaker type)
PERMISSION_STORE: Enables storage after creation (ideal for one-time use)
PERMISSION_PUBLIC: Allows marking as public
PERMISSION_RENAME: Enables renaming
PERMISSION_FILTERS: Allows extra filter usage
PERMISSION_SETTINGS: Grants access to settings menu
PERMISSION_PERMANENT: Allows marking as permanent
PERMISSION_ADD_GROUP: Enables adding to a speaker group
PERMISSION_PLAY_MUSIC: Allows music playback (useful for group-only speakers)
This command can be used to access the Speaker types menu.
This command can be used to access the Speaker groups menu.
This command can be used to control the volume of the resource.
Instead players having to go to the Windows Volume Mixer and mess with the Chromium Subprocess Volume, players can adjust their personal volume in-game.
Vehicles
Speakers can be attached to vehicles and their states saved to your database.
This ensures that speakers remain attached to player-owned vehicles even after storage and respawning.
To enable this feature:
â In editable_server/config.lua, set vehicleSaving to true.
â In editable_server/framework.lua, make sure getVehicleIdentifier function is filled.
â Based on your garage resource, add the vehicle created event
In qb-garages/server/main.lua add this line (like in the screenshot):