![[ESX/QB/OX/Standalone] Police spike strips for any inventory main image](https://forum-cfx-re.akamaized.net/optimized/5X/d/f/7/8/df78a2fe6fef6827f456fc99db2129e95494d05c_2_690x370.jpeg)
![[ESX/QB/OX/Standalone] Police spike strips for any inventory thumbnail 1](https://forum-cfx-re.akamaized.net/optimized/5X/d/f/7/8/df78a2fe6fef6827f456fc99db2129e95494d05c_2_690x370.jpeg)
![[ESX/QB/OX/Standalone] Police spike strips for any inventory thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/5X/e/5/8/e/e58ee6b0cc220735b4a1329b90dd4a8a4076345b_2_690x351.png)
Price
UnknownA script by hearondale
Price
UnknownThis police spikes resource allows you to bring a whole new experience to your Role Play server by adding fully functional spike strips, which can be stored as an item, picked up by players and even be stolen from the police! All actions, such as animation of player and spikes being deployed, are synced between all players. Spikes will not disappear unless someone picks them up! Moreover, they are highly optimized, so performance of players, who are minding they own business won’t be affected at all unless they are involved into pursuit and scene with spikes deployed on the ground!
If you don’t want anybody but the police officers to interact with them, you can disable spikes as an inventory item and enable Interaction menu or configure this even for inventory instead!
F5 Default key bind to open Spikes interaction menu
Other binds can be found directly in game (or on preview)
Also provided with a bridge for custom framework integration!
Features
Configuration
Config = {
-- Language. Available: en | es | de | fr | ru
Language = 'en',
-- style of TextUI (see fivem forum post for difference):
-- default | online | oxlib
Style = 'oxlib',
-- set to false, if you don't want to use ox_target to remove stinger. TextUI will be shown instead
UseTarget = true,
-- Set to false if you want to use WITHOUT ANY Inventory system, context menu will be shown insted
-- Supported inventories ox_inventory or qb-inventory
-- ox | qb
Inventory = 'ox',
-- Default menu button (used for menu if no Inventory is used)
MenuButton = 'F5',
-- If set to false, then everyone else will be able to access Spike menu if Inventory set to false
-- If you use any inventory true will not allow poeple woithout police job to use item
RequireJobPlace = false,
-- false will allow everyone to pick up spikes from the ground (and store as item if you use inventory). True makes pick up only for police jobs possible
RequireJobRemove = false,
-- any police jobs you have
PoliceJobs = {
"police",
"sheriff",
},
}
-- Change ONLY if you have fancier animations and want to change default ones
deploy = {
dict = "weapons@projectile@",
name = "throw_l_fb_stand"
}
take = {
dict = "veh@common@motorbike@low@ds",
name = "pickup"
}
Dependencies
Technical Information
For installation check README
Code is accessible | Only translations and Config |
Subscription-based | No |
Lines (approximately) | 830 |
Requirements | ox_lib |
Support | Yes |
Note: This script uses FiveM Assets Escrow. Do not share it with others, user will get immediately banned if he/she get caught.
Check out my other resources!
Vehicle Public Adress/Megaphone System
Credits for prop of spikes goes to Deadspin
No approved reviews found for this script yet.