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
Download: HERE
Preview: HERE
Credit for the vest EUP as seen in video (not included): HERE
9 Likes
Iāve never used QB but if it helps the only ESX dependant stuff is just the server.lua for the item usage.
Apologies!
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
At the moment no.
I am currently working on it but if someone beats me too it then I will definately update the github!
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