警戒带
警戒带行为如真实胶带, 免费开源, 适用于 QBox, QBCore, ESX 或独立运行。它随着长度下垂,在游戏风的作用下摇摆和扭曲,当人们推入时会弯曲绕过他们的腿和汽车引擎盖,松手时它会弹回原位,当车辆以过快速度穿过时会撕裂,对所有人都会这样。
将其绑在任何物体上。 对准墙壁、栅栏、柱子或树木,胶带就会绑在上面。对准空地,它会站在标线柱或菜单中的二十个交通锥之一上,菜单中每个都有图片。汽车、踢击和奔跑者会将其撞倒,胶带会随着它们一起倒下。
一百种样式,还有一个工作室用于更多。 警察、县治安官、联邦、犯罪现场、消防、医疗、危险、公用事业和国际胶带,在放置时实时切换。胶带工作室在游戏中制作新的样式,供整个服务器使用。
管理员可以看到所有。 /tapeadmin 列出服务器上的每条胶带,选择警察可以使用的样式和交通锥,并在服务器运行时开启和关闭撕裂、物理效果、风和保存。
下载
发布: https://github.com/Samuels-Development/sd-policetape/releases/latest
下载 sd-policetape.zip, 不是“源代码 (zip)”:zip 文件已经包含界面。
截图
放置: 对准时即可生效 · 柱子和锥子: 放置时按 H,每个都有图片
撕裂: 对所有人都会断裂,末端会落在悬挂的地方 · 推过: 绕过腿部弯曲
截图,点击打开:
行为
胶带在其两个绑点之间以浅曲线悬挂,长度设定,并在游戏风中摇摆和扭曲。它由脚本绘制,因此夜间和室内会手动变暗,以融入场景。
人物和车辆保持真实形状。NPC 是由多个胶囊组成的,因此胶带会缠绕在腿部或腰部,车辆每款模型只测量一次,因此胶带会缠绕在引擎盖上或挡风玻璃上,或卡在卡车的保险杠下。松手后,它会弹回原位并轻微晃动。
没有人能直接穿过它。玩家推入胶带时,越推越慢,推出一米后会断裂。车辆以 30 公里/小时的速度会直接撕裂胶带,较慢的车辆会缠绕在保险杠上并拖拽后撕裂。两半会弹回绑点并落在落地处。路人(NPC)会滑落而不会破坏胶带。
想要永不断裂的胶带?关闭撕裂,在相同限制下,它会滑落并弹回。
放置它
/tape, 或使用 police_tape 物品。点击起始位置,点击绑点位置,然后继续点击直到按下完成。绿色标记表示可以放置;红色,提示原因(太长、有障碍物、没有绑点)。
| 放置时 | 控制器 | |
|---|---|---|
| 鼠标滚轮 | D-pad 上/下 | 下一款或上一款样式,实时显示在胶带上 |
| G | D-pad 左 | 所有样式 |
| H | D-pad 右 | 柱子和锥子菜单 |
| F | Y | 重启后保留或不保留 |
查看胶带时,提示显示 [E] 编辑胶带。按 E 打开它:G 更改其样式,按住 E 将其放下,F 重启后保留或不保留。被撞倒的锥子同样操作:按住 E 将其立起。
柱子和锥子
标线柱和二十个锥子,从 30 厘米到一米:橙色、红色和白色、黄色、青柠色、蓝色、白色、黑色、粉色、绿色、危险条纹和高速公路锥。每个都有自己的尺寸、底座和胶带绑的高度。
车辆撞入其中会将其沿路推走,踢击、拳打或撞入会将其撞倒。对所有人都会倒下,绑在上面的胶带也会倒下,重启后直到有人将其立起才会保持倒下。车辆会直接穿过站立着的锥子,而不是撞上它。
胶带工作室
/tapestudio 从任何样式开始,为服务器上的所有人保存一个新的样式:背景和第二种颜色(渐变或分割)、九种图案、边缘带(实线、双线、虚线或斜线)、最多六段文字,包括字体、颜色、字母高度、宽度和间距,文字后的框、轮廓、阴影和文字之间的标记。预览由与游戏世界中胶带相同的代码绘制,近距离、10 米和 30 米处。
在样式选择器中,自定义 列出每个工作室样式及其创作者,你的 列出你制作的样式。
管理员菜单
/tapeadmin 列出服务器上每条胶带的样式、放置者、长度、街道、时间以及距离:到它的航点、前往那里、重启后保留或不保留、拆除(全部、每条撕裂的、所有)。它选择警察可以放置的样式和柱子、锥子,并在服务器运行时切换撕裂、物理效果、风、撞倒绑点、物品和保存,保存在 data/settings.json。
服务器权限
服务器决定。每次撕裂和撞倒的锥子都会在任何人看到之前进行检查:服务器只有在玩家正好站在胶带上,或车辆是他们的、在场且在移动时才认为有效。放置会检查权限、长度、范围和限制(每名玩家 40 条胶带,服务器 800 条,每分钟 40 次放置,均在配置中),以及谁可以贴胶带、使用工作室或使用管理员菜单由服务器决定,并提供钩子文件以自定义规则。
没有胶带模型:视野中的每条胶带都绘制为一条带子,超过 40 米的胶带不会模拟。
兼容性
| 图层 | 支持 |
|---|---|
| 框架 | QBox, QBCore, ESX, 或无(仅 ACE 权限) |
| 库存 | ox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory(-pro), tgiann-inventory, codem-inventory, jaksam_inventory, origen_inventory, one_inventory |
| 物品 | 可选:一个 警用胶带 卷,如果你喜欢可以每使用一段就消耗一次,当你放下自己的胶带时会返还 |
| 数据库 | 无:胶带、样式和设置在 data/ 中为 JSON 格式 |
| 语言 | 英语、德语、荷兰语、法语、西班牙语 |
导出其他脚本放置、撕毁和清除胶带的功能:PlaceTape, RemoveTape, TearTape, ClearTapes, GetTapes, GetStyles, 以及在客户端 StartPlacing, IsPlacing 和 GetLookedAtTape.
代码
| 代码可访问 | 是 |
| 基于订阅 | 否 |
| 代码行数(约) | 约 13000 |
| 依赖项 | ox_lib |
| 支持 | 是 |
如果你喜欢 sd-policetape 并想支持我的工作,可以考虑从 Samuel’s Development 购买脚本。每一笔购买都帮助我继续开发免费的资源,就像这个一样。
查看英文原文 (Original)
Police Tape
Download · Documentation · GitHub
Police tape that behaves like tape, free and open source, for QBox, QBCore, ESX or standalone. It sags with its length, sways and twists in the game’s own wind, bows round people’s legs and a car’s bonnet when they push into it, springs back when they let go, and tears, for everybody, when a vehicle drives through it too fast.
Tie it to anything. Aim at a wall, a fence, a pole or a tree and the tape is tied to it. Aim at open ground and it stands on a delineator post or one of twenty traffic cones, picked from a menu with a picture of each. Cars, kicks and runners knock them over, and the tape goes down with them.
A hundred styles, and a studio for more. Police, sheriff, federal, crime scene, fire, medical, hazard, utility and international tape, switched live on the stretch you are placing. The Tape Studio makes new ones in game, for the whole server.
Admins see all of it. /tapeadmin lists every tape on the server, chooses which styles and cones police get, and switches tearing, physics, wind and saving on and off while the server runs.
Download
Release: https://github.com/Samuels-Development/sd-policetape/releases/latest
Grab sd-policetape.zip, not “Source code (zip)”: the zip has the interface already built.
Screenshots
A driveway in Mirror Park, taped off on four posts

Or tied to walls, with nothing to stand on: from the side of the house to the yard wall


Placing: the stretch is live while you aim · Posts and cones: H while placing, a picture of each

Torn: it snaps for everybody, and the ends fall where they hang · Pushing through: it bows round the legs
Some of the 100 styles, drawn by the same code that draws the tape in game

Screenshots, click to open:
Style picker and Tape Studio

The style picker: G while placing, or /tapestyles · By category, plus Custom and Yours for the Studio’s
How it behaves
Tape hangs between its two ties in a shallow curve set by its length, and sways and twists in the game’s wind. It is drawn by the script, so it is dimmed by hand at night and indoors to sit in the scene.
People and vehicles have their real shapes. A ped is a dozen capsules between its bones, so tape catches on a leg or a waist, and a vehicle is measured once per model, so tape rides up a bonnet onto the windscreen or catches under a truck’s bumper. Let go, and it springs back into line with a wobble.
Nobody just walks through it. A player pushing into tape is slowed the further it gives, and snaps it once they have pushed it a metre out. A vehicle tears it outright at 30 km/h, and a slower one catches it on the bumper and tears it after dragging it. The halves whip back towards their ties and lie on the ground where they land. Passers-by (NPCs) slide off it without breaking it.
Want tape that never breaks? Switch tearing off, and at the same limits it slips off whatever is pushing it and springs back.
Placing it
/tape, or use the police_tape item. Click where it starts, click where it is tied off, and keep going from there until you press Done. A green marker means it can go there; red, and the prompt says why (too long, something in the way, nothing to tie to).
| While placing | Controller | |
|---|---|---|
| Mouse wheel | D-pad up / down | Next or previous style, live on the tape |
| G | D-pad left | All styles |
| H | D-pad right | The post and cone menu |
| F | Y | Kept after a restart, or not |
Looking at tape, a prompt says [E] Edit tape. E opens it: G changes its style, holding E takes it down, F keeps it after a restart or not. A knocked-over cone works the same way: hold E to stand it back up.
Posts and cones
A delineator post and twenty cones, from 30 cm to a metre: orange, red and white, yellow, lime, blue, white, black, pink, green, hazard striped and highway cones. Each has its own size, base and the height the tape is tied at.
A car that drives into one sends it along the road, and a kick, a punch or running into one knocks it over where it stands. It goes down for everybody, the tape tied to it goes down with it, and it stays down across restarts until someone stands it back up. Cars pass through a standing one instead of stopping dead against it.
Tape Studio
/tapestudio starts from any style and saves a new one for everyone on the server: a background and a second colour (gradient or split), nine patterns, edge bands (solid, double, dashed or checked), and up to six pieces of wording with typeface, colour, letter height, width and spacing, a box behind them, an outline, a shadow and the mark between them. The preview is drawn by the same code as the tape in the world, close up, at 10 m and at 30 m.
In the style picker, Custom lists every Studio style with who made it, and Yours the ones you made.
Admin menu
/tapeadmin lists every tape on the server with its style, who put it up, its length, the street it is on, when, and how far away: a waypoint to it, going there, keeping it after a restart or not, and taking it down (one, every torn one, or all). It chooses which styles and which posts and cones police may put up, and switches tearing, physics, wind, knocking holders over, the item and saving while the server runs, kept in data/settings.json.
Server authority
The server decides. Every tear and every knocked-over cone is checked before anyone sees it: the server believes it only if that player is on foot right at the tape, or that vehicle is theirs, is there and is moving. Placing is checked for access, length, reach and limits (40 tapes per player, 800 on the server, 40 placements a minute, all in the config), and who may tape, use the Studio or use the admin menu is decided on the server, with a hook file for your own rules.
There are no tape models: each tape in sight is drawn as a ribbon, and tape further than 40 m is not simulated at all.
Compatibility
| Layer | Supported |
|---|---|
| Frameworks | QBox, QBCore, ESX, or none (ACE permissions only) |
| Inventories | ox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory(-pro), tgiann-inventory, codem-inventory, jaksam_inventory, origen_inventory, one_inventory |
| Item | Optional: a police_tape roll, used up per stretch if you like and given back when you take your own down |
| Database | None: tape, styles and settings are JSON in data/ |
| Languages | English, German, Dutch, French, Spanish |
Exports place, tear and clear tape from other scripts: PlaceTape, RemoveTape, TearTape, ClearTapes, GetTapes, GetStyles, and on the client StartPlacing, IsPlacing and GetLookedAtTape.
Code
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | circa 13000 |
| Requirements | ox_lib |
| Support | Yes |
If you’re enjoying sd-policetape and want to support my work, consider picking up a script from Samuel’s Development. Every purchase helps me keep building free resources like this one.
Download · Documentation · Discord · Store
本文资源搬运自 CFX.re FiveM 官方论坛,原作者:SamuelBlack。原帖地址:https://forum.cfx.re/t/free-police-tape-100-styles-20-cones-qbx-qb-esx-standalone/5434123
![[免费] 警示胶带(100种样式,20个锥桶)(QBX/QB/ESX/独立版)-Fivem论坛](https://raw.githubusercontent.com/Samuels-Development/sd-policetape/main/docs/previews/sd-policetape-banner.webp)












· 柱子和锥子



![[插件按键对应编号][按键修改][键位查询]-Fivem论坛](http://f.sihuai.icu/wp-content/uploads/2026/03/d63f0844e220260306091608-scaled.png)

![[免费] WG Banking — 实体 ATM 屏幕显示,真实借记卡,完善的 SQL | QBox · QBCore · ESX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/5/5/e/a/55ea691f13ad0f2545afeec1ce334a806d08d20d.jpeg)
![[免费] 指纹扫描仪-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/1/a/b/f/1abfb21417d58052e3af9a9a2c8a254821f2f058.jpeg)
![[免费] 3D GPS 带状指示器 & 路标信标-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/10/f61e4aeda720261019215155-800x450.jpeg)
![[ESX/QB-Core/Standalone] 传呼系统 (3D模型动画)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/0/0/d/b00db1803cc0f74ae22a17ac5c129d6be72b04f0.gif)
![[免费] Bob Mulet Luxury | MLO [免费]-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/2/7/1/8/2718655d302d787f9ef4c36893d74d6812542b11.jpeg)
![[免费] El Gordo Lighthouse MLO-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/ce10679cd520261102203449-800x450.jpeg)

![[MLO] 车库与藏身处 [免费]-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/0fb3171ffa20261104203352-800x450.jpeg)
![[免费] Zyke’s 高级粉碎机 (FiveM, 同步, 自定义道具, 声音, 交互)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/e/0/a/be0a64b2a67ece57ad3e8230430b1333e174fdd7.gif)
![[免费] FiveM 狗狗散步脚本 | 狗狗散步工作与日托中心 | ESX, QBCore, QBX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/6/0/e/e/60ee47d4ad87758b0f288c94362e880253075aef.gif)
![[免费] 暂停菜单 | QBCore & Qbox | OchiDev-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/edd943b79820261104203632-800x424.jpeg)
![[免费] MZ Drugs Creator | 为 FiveM 定制的全功能药物系统-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/8e98e2799e20261104203651-800x450.jpeg)
![[免费] RD Fuel V1.0 – 拥有真实个性的加油站服务员-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/72a7e95eae20261104203755-800x450.jpeg)

暂无评论内容