A simple and efficient car lock script for FiveM (ESX) that syncs across all players. This script requires ox_lib as a dependency.
- Fully Synchronized: Car locking status updates for all players.
- Temporary Locking: Easily add or remove keys for temporary vehicles like job spawns.
- Optimized & Lightweight: Runs smoothly without performance issues.
- ESX Compatible: Designed specifically for ESX servers.
- Download and place the
RAGE_CarLockscript in yourresourcesfolder. - Add
ensure RAGE_CarLockto yourserver.cfg. - Ensure ox_lib is properly installed and running.
You can easily manage temporary locks using these functions:
exports['RAGE_CarLock']:AddKey(plate)
exports['RAGE_CarLock']:RemoveKey(plate)- AddKey(plate): Grants temporary access to a vehicle.
- RemoveKey(plate): Revokes access to a vehicle.
If you have any issues or need assistance, feel free to contact me on Discord: chaos_rage
This project is open source. You are free to use, modify, and distribute it under the following conditions:
- You may not resell this script in any form.
- You may not rename the project or claim it as your own.
See the LICENCE file for more details.
