Jump to content
Check out discord.gg/fxap for the cheapest decryptions! First one is free! ×

Get LB-Phone!

Unlock the powerful LB-Phone for a fraction of the price you pay on tebex.

Download

Premium TOS Clothing MEGA Pack!

11GB of pure TOS premium clothing best clothing pack for your Server!

Download

5Decrypt

Automated Asset Decryption

Learn More

1 Screenshot

About This File

A simple to use, but complex functionality vehicle whitelist system that provides easy server-end configuration and user friendly in game commands. This script is a perfect match for communities that pledge donations or personal vehicles. This script contains a simple and straight forward config file that allows server developers to whitelist a vehicle to a specific player via their discord ID , which then allows them to use the in game trust system features. The trust system contains two command; /trust (trust a specified player via their in game ID to have access to your whitelisted vehicle) and /untrust (revoke a specified player via their in game ID access to your whitelisted vehicle) - both commands are configurable via the config file. All trust data is stored via a SQL database then stored in an array locally on the client (trusted vehicle data is collected upon the player joining the server).

 

Features:

  • Easy to setup config file, which has a brief description of what all config options will do.
  • User friendly - easy and straight forward to use.
  • Optimised (0ms) - minimal performance impact on the client.
  • SQL data storing.
  • Ability to limit how many times a player can trust another player to use their whitelisted vehicle.
  • A user friendly, easy to navigate menu that shows all vehicles a player has access to.

And much more!

  • Nice 1
  • Happy 1

User Feedback

Recommended Comments

Mikey97

Posted

looks awsome but my idiotic self cant get it to work and i keep getting this error in the console

[script:{FiveM%20Vehi] SCRIPT ERROR: @{FiveM%20Vehicle%20Whitelist%20SysteM/server/server.lua:146: attempt to index a nil value (global 'MySQL')
  • Administrator
LauncherLeaks

Posted

you need to have mysql setup

  • Nice 1
Mikey97

Posted

That's what I figured so I'm more than likely screwed up the setup when I did it

azlovesjoey

Posted

Make a sql I have put the code in below on what it should look like


CREATE TABLE trusted (
    discord varchar(255) DEFAULT NULL, 
    spawncode varchar(255) DEFAULT NULL, 
    owner varchar(255) DEFAULT NULL, 
    vehname varchar(255) DEFAULT NULL,
    hash varchar(255) DEFAULT NULL
);

noelpro66

Posted

On 7/2/2024 at 7:23 AM, azlovesjoey said:

Make a sql I have put the code in below on what it should look like


CREATE TABLE trusted (
    discord varchar(255) DEFAULT NULL, 
    spawncode varchar(255) DEFAULT NULL, 
    owner varchar(255) DEFAULT NULL, 
    vehname varchar(255) DEFAULT NULL,
    hash varchar(255) DEFAULT NULL
);

Will this work with the current script?

 

Amiri Jordans

Posted

On 7/2/2024 at 1:23 AM, azlovesjoey said:

CREATE TABLE trusted (
    discord varchar(255) DEFAULT NULL, 
    spawncode varchar(255) DEFAULT NULL, 
    owner varchar(255) DEFAULT NULL, 
    vehname varchar(255) DEFAULT NULL,
    hash varchar(255) DEFAULT NULL

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy