# gusti-membershipvehicle

<figure><img src="/files/62dmm2kdeNHIvDfkiyzC" alt=""><figcaption><p>Thank you for buying<br><strong>[STANDALONE] GUSTI MEMBERSHIPVEHICLE</strong></p></figcaption></figure>

Gusti MembershipVehicle is a FiveM script to add a membership vehicle feature on the server, where players must be registered as a membership to use a certain vehicle.

## Installation

* Extract rar file `[STANDALONE] Gusti MembershipVehicle`
* Copy / cut `gusti-membershipvehicle` to your server `resources` folder
* Open `server.cfg`
* Add the `gusti-membershipvehicle` script with `ensure gusti-membershipvehicle` in `server.cfg`
* Start server / Restart server
* Finished

## Configuration

Open the `config.lua` file located in the `gusti-membershipvehicle` folder to configure it

* Choose the framework you are using (Config.Framework)
* Select the type of Identifier (Config.TypeIdentifier)
* Set the Config.EnableDeleteVehicle section to true if you want the vehicle to be automatically deleted if the player is non-membership
* Enter a list of any vehicles that you want to become a membership vehicle (Config.VehicleMembership)
* Edit notification for non membership players (Config.Notify)
* Register player membership into (Config.Membership)

Example of VehicleMembership configuration:

```lua
Config.VehicleMembership = {
    'xa21', -- vehicles model name
    'oppressor2', -- vehicles model name
    'apc', -- vehicles model name
}
```

An example of player membership data configuration using typeidentifier = 'license' :

```lua
['license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] = Config.VehicleMembership, -- Berikan akses ke semua kendaraan yang terdaftar di VehicleMembership
['license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] = {'xa21'} -- Berikan akses ke kendaraan tunggal
```

An example of player membership data configuration using typeidentifier = 'steam' :

```lua
['steam:xxxxxxxxxxxxxxx'] = Config.VehicleMembership, -- Berikan akses ke semua kendaraan yang terdaftar di VehicleMembership
['steam:xxxxxxxxxxxxxxx'] = {'xa21'} -- Berikan akses ke kendaraan tunggal
```

## Feature

* Membership Vehicle
* Easy to Use
* Easy to Configure
* 2 Types of Identifiers (license & steam)
* Auto delete vehicle (true/false)

## Framework

* [ESX](https://github.com/esx-framework/esx_core)
* [QBCore](https://github.com/qbcore-framework/qb-core)

## Video Preview

* [YouTube](https://youtu.be/VXFykuqWYrY)

## Purchase

* [Tebex Store](https://aklgaming.tebex.io/package/5643191)
* [Sociabuzz Store](https://sociabuzz.com/gustiagung/p/standalone-gusti-membershipvehicle)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aklgaming.gitbook.io/documentation/gusti-resources/gusti-membershipvehicle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
