Courtroom Gavel Sound Effect

A simple and lightweight resource that will create a target box and give the ability to play a gavel sound effect to all nearby players. I originally had all of the detection logic client side, but I moved it to server side as a better practice.

I’m quite new to creating resources so if something is pants on head silly please let me know.

Download: GitHub
Preview: Medal

Code is accessible Yes
Subscription-based No
Lines (approximately) 100
Requirements ox_lib, ox_target
Support Yes
5 Likes

why use different sound effects for the single and burst effects?

Depending on how you hit a piece of wood against another piece of wood they make different sounds.

The idea is that one is for adjourning court and the other is like “order, order in the court”.

Gavel target location for Gabz City Hall:

vec3(-575.65, -210.72, 38.56)

3 Likes

oh ok great work tho !

Awesome, I actually wanted this but I don’t have that MLO.

1 Like

would be cool to have it so you can use the qb target or anyt other target

ox_target has compatibility with qb-target and is a lot more functional, so if you made the switch you wouldn’t lose anything. Worth the upgrade but that’s just the opinion of a passerby :+1:

ive been thinking of switching over to everything ox

You’d benefit a lot from the switch, check out Qbox if you want to do that.

They took qbcore, integrated ox into it, and then refactored QBCore + resources. It also has a compatibility layer which lets your QB resources work with it.

I’ve been running a qbox server for a new months now and I’m running a mix of qb-core and qbox resources with no problems with my older qb-core resources.

2 Likes

nice work bro