Trunk Lock System
Introduction

Introduction

This resource adds an additional lock layer to vehicle trunks. If a lock is installed, trunk access is blocked unless the player is the vehicle owner or removes the lock with an angle grinder.

Requirements

  • ox_inventory
  • oxmysql
  • ox_lib (progress bar + notifications)
  • Framework: es_extended (ESX Legacy) or qb-core (QBCore)

How It Works

  1. Owner installs a lock using the trunk_lock item.
  2. Trunk access is blocked for non-owners.
  3. A player can remove the lock using angle_grinder.
  4. Access checks are performed server-side and exposed via exports.