Mxthesss / MX-CarLock

MX-CarLock

Home Page:https://mxthessdev.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MX-CarLock

MX-CarLock is a FiveM script designed to provide a convenient way to lock and unlock cars in your server. It supports the latest version of ESX and utilizes a config file for customization. Please note that this script has a dependency on the ox_lib library.

Features

  • Lock and unlock cars
  • Compatibility with the latest version of ESX
  • Customizable configuration options

Prerequisites

Before using MX-CarLock, make sure you have the following prerequisites:

Installation

  1. Clone the MX-CarLock repository to your Server:
  1. Copy the MX-CarLock folder into your FiveM resource directory.

  2. Add ensure MX-CarLock to your server.cfg file.

  3. Download and install the latest version of ESX.

  4. Install the ox_lib library by following the instructions in its repository.

Configuration

  1. Open the config.lua file located in the MX-CarLock folder.

  2. Customize the following options based on your preferences:

  • Locale (now support EN/CZ language)

We go to es_extended --> client --> functions.lua We look for this function: function ESX.ShowNotification We rewrite the entire function to:

SnĂ­mek obrazovky 2023-07-24 212500

Then you go to fxmanifest.lua in es_extended where you add this line to the shared_scripts section:

`'@ox_lib/init.lua',`

Usage

Once MX-CarLock is installed and configured, you can use the following key bindings in your FiveM server:

  • By pressing F10 you can lock/unlock your vehicle. You have to own the vehicle, otherwise it won't work ;)

Contributing

  • Contributions to MX-CarLock are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request in the GitHub repository.

  • Or join my discord server ;) Discord

License

MX-CarLock is licensed under the MIT License.

Screenshots

image

carlockmonitor

About

MX-CarLock

https://mxthessdev.netlify.app

License:MIT License


Languages

Language:Lua 100.0%