[ESX] Bomb Vest with DefuseršŸ’£

Simple bomb vest script perfect for Military themed servers.

Features:

  • Bomb ā€œbeepā€ that gets faster upon detonation
  • Defuser item that removes the bomb
  • Puts on a Vest when the item is used, removes once dead/defused.

I am planning on making the sounds server sided but not sure how to do, I will update the GITHUB once done.

Enjoy :slight_smile:

Download: HERE

Preview: HERE

Credit for the vest EUP as seen in video (not included): HERE

9 Likes

any chance of QB? :slight_smile:

Iā€™ve never used QB but if it helps the only ESX dependant stuff is just the server.lua for the item usage.

Apologies! :cowboy_hat_face:

1 Like

D2D-Vest-main.zip (292.0 KB)
qb version not tested have fun

2 Likes

script:D2D-Vest] SCRIPT ERROR: @D2D-Vest/server.lua:10: attempt to call a nil value (field ā€˜removeInventoryItemā€™)
[ script:D2D-Vest] > UseItem (@qb-core/server/functions.lua:221)
[ script:D2D-Vest] > handler (@qb-core/server/events.lua:168)
[ script:qb-core] SCRIPT ERROR: error object is not a string
[ script:qb-core] (nil stack trace)SCRIPT ERROR: @D2D-Vest/server.lua:10: attempt to call a nil value (field ā€˜removeInventoryItemā€™)
[ script:D2D-Vest] > UseItem (@qb-core/server/functions.lua:221)
[ script:D2D-Vest] > handler (@qb-core/server/events.lua:168)
[ script:qb-core] SCRIPT ERROR: error object is not a string
[ script:qb-core] (nil stack trace)

Nice, can other players defuse it with the defuse item?

1 Like

finally bro thank you

1 Like

At the moment no.

I am currently working on it but if someone beats me too it then I will definately update the github! :slight_smile:

Updated version fixed for QB.

1 Like

Other player donā€™t hear the sound.

Itā€™s client sided sound.

Server sided sound coming soon.

Are you able to apply the vest to another player and detonate it?

Better off looking at something like the esx_policejob where it uses nearest player to cuff.

Take the code and apply to the bomb vest script.

1 Like

Defusing does not work for me, Iā€™m using ox_inventory but I donā€™t have any errorcodes, not sure why it doesnā€™t work

Have you added the item to both ox_inventoryā€™s items.lua and into your database?

Make sure to restart the server after you implemented the above.

Thanks for youā€™re reply, didnt put it in items.lua from inventory Iā€™m going to check that out!

I cant see the vest how can i fix this?

Defuse not working for me what can i do to fix it?

Need more information.

Console errors, video if possible.

There is no error i just cant use the item