๐ฎPolice Tape Script
A comprehensive police tape system for FiveM servers that allows law enforcement to place and manage police tape barriers with traffic cones.
Features
Place police tape barriers with customizable lengths
Add traffic cones at tape endpoints
Delete mode for easy tape removal
Job-based permissions
Framework support for both QB-Core and ESX
Multi-language support
Distance-based tape prop selection
Ground placement validation
Server-side synchronization
Installation
Download the resource
Place it in your resources folder
Add
ensure hate-policetape
to your server.cfgConfigure the config.lua file according to your needs
Add the required item to your items database
Configuration
Framework Settings
Config.Framework = 'qb' -- 'qb' or 'esx'
Item Settings
Config.RequiredItem = 'loot_raid' -- Item required to use the tape
Job Settings
Config.AllowedJobs = {
['police'] = true,
['sheriff'] = true
}
Tape Settings
Config.TapeLimit = 4.0 -- Maximum distance between tape points
Config.DeleteDistance = 3.0 -- Distance required to delete tape
Config.InteractionRange = 10.0 -- Maximum interaction range
Key Bindings
Config.Keys = {
Place = 38, -- E
Cancel = 73, -- X
ToggleCone = 246, -- Y
Delete = 47 -- G
}
Props Configuration
Config.Props = {
TapeRoll = "prop_police_tape_roll",
TrafficCone = "prop_roadcone01a"
}
Localization
The script supports multiple languages through the config file. Currently available languages:
English (en)
Turkish (tr)
Usage
Use the required item to start placing tape
Press E to place the first point
Move to desired location and press E again to complete the tape
Press Y to toggle traffic cone placement
Press G to enter delete mode
Press X to cancel tape placement
Commands
/deletetape
- Toggle delete mode (Police only)
Dependencies
QB-Core or ESX Framework
Required item in your items database
Notes
Tape can only be placed on valid ground surfaces
Traffic cones can only be placed on flat ground
Maximum tape length is configurable
Tape props automatically adjust based on distance
All tape placements are synchronized across all players
Security Notice
This script is protected by FiveM's escrow system. The client and server-side code is encrypted and cannot be modified.
Support
For support, please contact the developer through the official channels.
Last updated