https://github.com/rage-gaming/rage_carlock
A simple and efficient FiveM ESX car lock system with ox_lib dependency. Fully synchronized across all players, allowing easy management of temporary vehicle locks. Open-source but cannot be resold or renamed.
https://github.com/rage-gaming/rage_carlock
car-lock esx fivem fivem-development lua open-source ox-lib rage rage-carlock
Last synced: 7 months ago
JSON representation
A simple and efficient FiveM ESX car lock system with ox_lib dependency. Fully synchronized across all players, allowing easy management of temporary vehicle locks. Open-source but cannot be resold or renamed.
- Host: GitHub
- URL: https://github.com/rage-gaming/rage_carlock
- Owner: Rage-Gaming
- License: other
- Created: 2025-03-17T13:18:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T20:53:35.000Z (about 1 year ago)
- Last Synced: 2025-03-26T21:35:29.824Z (about 1 year ago)
- Topics: car-lock, esx, fivem, fivem-development, lua, open-source, ox-lib, rage, rage-carlock
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# RAGE Car Lock (ESX)
A simple and efficient car lock script for FiveM (ESX) that syncs across all players. This script requires **ox\_lib** as a dependency.
## Features
- **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.
## Requirements
- **[ox\_lib](https://github.com/overextended/ox_lib)**
## Installation
1. Download and place the `RAGE_CarLock` script in your `resources` folder.
2. Add `ensure RAGE_CarLock` to your `server.cfg`.
3. Ensure **ox\_lib** is properly installed and running.
## Exports
You can easily manage temporary locks using these functions:
```lua
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.
## Support
If you have any issues or need assistance, feel free to contact me on Discord: `chaos_rage`
## License
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](https://github.com/Rage-Gaming/RAGE_CarLock/blob/main/LICENSE) file for more details.
## Copyright ©
