https://github.com/jalallinux/fivem-car-lock
Simple car lock for vehicle in FiveM linux server
https://github.com/jalallinux/fivem-car-lock
car-lock fivem fivem-lua fivem-sc lua roleplay script
Last synced: 8 months ago
JSON representation
Simple car lock for vehicle in FiveM linux server
- Host: GitHub
- URL: https://github.com/jalallinux/fivem-car-lock
- Owner: jalallinux
- Created: 2020-07-01T09:44:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-01T10:06:52.000Z (almost 6 years ago)
- Last Synced: 2025-04-22T21:16:17.610Z (about 1 year ago)
- Topics: car-lock, fivem, fivem-lua, fivem-sc, lua, roleplay, script
- Language: Lua
- Homepage: https://JalalLinuX.ir
- Size: 3.91 KB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FiveM-Car-Lock
Simple vehicle lock/unlock system for **FiveM** linux server. (The development of this script **continues**)
### Features
Pess **U** or your Custom key to **Lock** or **Unlock** your vehicle.
---
## Download & Installation
### Using Git
```
cd resources
git clone https://github.com/jalallinux/FiveM-Car-Lock [jalallinux]/jl_carlock
```
- Add to your **server.cfg** file ``start jl_carlock``
### Manually
- Download https://github.com/jalallinux/FiveM-Car-Lock/archive/master.zip
- Put it in the `[jalallinux]` directory
- rename it to jl_carlock
- Add to your **server.cfg** file ``start jl_carlock``
---
## Config
In `resources` folder, edit `/[jalallinux]/jl_carlock/config.lua` with your settings :
```lua
Config = {}
Config.CarLock = {
ControlKey = 303, -- Which button for Open and Lock vehicle ? 303 = U
NotCarFound = "Your vehicle was not ~r~detected~w~",
CarLocked = "Your vehicle is ~r~Locked~s~",
CarOpen = "Your vehicle is ~g~Open~s~",
LimiterIsOn = "Limiter switched ~b~On",
LimiterIsOff = "Limiter switched ~b~Off",
SearchAreaRadius = 20.0,
BlinkingLightsON = true, -- Flashing Headlights on Opening and Closing vehicle
CarBleepOnOpen = true, -- Bleep at Open vehicle
CarBleepOnClose = true, -- Bleep at Close vehicle
CarBleepDistance = 5.0, -- Radius how far the sound is audible to other players
CarBleepVolume = 0.5, -- Volume of the sound / MAX = 1.0 / MIN = 0.1
SpeedLimiter = false, -- Option to turn a speedlimiter on or off
SpeedLimiterKey = 29, -- Which button for the limiter? default: 29 = B
}
```
- You can get other `Keys Control` from https://docs.fivem.net/game-references/controls/ but it's optional for temporarily.
---
## Screenshots
 . 