SimpleCarlock is a standalone vehicle key and locking system designed to add simple vehicle ownership and security mechanics to FiveM without requiring a framework or database.
Players can claim keys to vehicles, lock and unlock them nearby, transfer ownership to another player, and use an interactive lockpicking minigame to break into locked vehicles. Automatic features such as walk-away locking and speed-based drive locking help make the system feel natural without adding unnecessary complexity.
- Claim keys to the vehicle you are currently using
- Server-managed vehicle ownership
- Transfer vehicle keys to another player
- Prevent multiple players from claiming the same vehicle
- Vehicle ownership is cleaned up when the owner disconnects
- Lock and unlock owned vehicles while nearby
- Configurable interaction distance
- Automatic walk-away locking
- Automatic vehicle locking when driving above a configurable speed
- Automatic unlock handling when exiting a locked owned vehicle
- Synchronized lock states across connected players
- Vehicle light flashes when locking or unlocking
- Custom lock and unlock sounds
- Configurable sound volume
- In-game notifications for key and lock actions
- Interactive NUI lockpicking minigame
- Configurable lockpick distance
- Configurable startup delay
- Configurable number of pins
- Configurable failed attempts
- Lockpicking animation while attempting entry
- Optional emergency vehicle protection
/carhelpopens the included help interface- Players receive a one-time reminder when entering a vehicle
- Commands and core features are available directly in-game
- Automatic version check when the resource starts
- Displays the installed and latest available version
- Notifies server owners when an update is available
- Can be disabled from
config.lua
Download the latest version of SimpleCarlock and extract the folder.
Place the SimpleCarlock folder inside your FiveM server's resources directory.
For example:
resources/[standalone]/SimpleCarlock
Open config.lua and adjust the settings to suit your server.
Add the following to your server.cfg:
ensure SimpleCarlockRestart your server or start the resource manually.
| Command | Description |
|---|---|
/getkeys |
Claims the keys for the vehicle you are currently inside. |
/givekeys <ID> |
Transfers the keys for your current owned vehicle to another player. |
/lockpick |
Attempts to lockpick the nearest locked vehicle. |
/carhelp |
Opens the built-in SimpleCarlock help menu. |
The default lock and unlock control is:
E
This can be changed in config.lua using the configured FiveM control ID.
SimpleCarlock can be configured entirely through config.lua.
Available options include:
- Emergency vehicle lockpick exemption
- Lock/unlock control key
- Vehicle exit control key
- Walk-away auto-lock distance
- Lock/unlock interaction distance
- Sound volume
- Lockpick startup delay
- Lockpick interaction distance
- Number of lockpick pins
- Number of failed lockpick attempts
- Drive auto-lock speed
- Version checker settings
Example:
Config.Settings = {
ExemptEmergencyVehicles = true,
lockKey = 38,
exitKey = 75,
autolockDistance = 25.0,
interactionDistance = 7.0,
soundVolume = 0.4,
lockpickInitialWait = 2500,
lockpickDistance = 4.0,
pinCount = 5,
pinAttempts = 3,
driveLockSpeed = 5.0
}- FiveM server
- No framework required
- No database required
- No additional resource dependencies required
When reporting a bug, include any relevant client or server console errors along with clear steps to reproduce the issue.
For support, updates, and other SimpleDevelopments resources, join the community through the Discord button at the top of this page.
SimpleCarlock is developed by SimpleDevelopments as a lightweight solution for servers that want vehicle keys, locking, and lockpicking without installing a full framework-based vehicle system.