BUTY SHOP
WebDiscord
  • 💜BUTY DOCUMENTATION
  • âš ī¸INFORMATION
    • LICENSES
    • OUR TERMS
    • SUPPORT
  • 📚GUIDES
    • ⭐Infinite JOBS
      • INSTALLATION
      • HOW TO DO
    • đŸŒŋGardener Job
      • INSTALLATION
    • ❗Infinite Activities
      • INSTALLATION
    • đŸ›Šī¸Flight School
      • INSTALLATION
    • 🚤Boat School
      • INSTALLATION
    • đŸ’ŗLicense System
      • INSTALLATION
      • EXPORT INTEGRATION
      • COMMANDS
    • 🚗Vehicle Shop
      • INSTALLATION
    • â›ī¸Advanced Miner
      • INSTALLATION
    • 🔄Progress Bar
      • INSTALLATION
    • 💊Advanced Sell Drugs
      • INSTALLATION
      • COMMON PROBLEMS
    • 🌊Rent Water Activities
      • INSTALLATION
    • đŸŽī¸Rent Kart Vehicles
      • INSTALLATION
    • 🧑‍đŸĻąAdvanced Identity
      • INSTALLATION
    • 🚚Advanced Trucker
      • INSTALLATION
    • đŸ›Šī¸Advanced Airplane
      • INSTALLATION
    • 🚌Advanced Bus
      • INSTALLATION
    • â™ģī¸Advanced Garbage
      • INSTALLATION
      • COMMON PROBLEMS
  • âš™ī¸COMMON ERRORS
Powered by GitBook
On this page
  • 1. DOWNLOAD
  • 2. DEPENDENCIES AND INSTALLATION
  • 3. CONFIG
  1. GUIDES
  2. Advanced Identity

INSTALLATION

Read very well and follow all the steps below. If you find any error or have any doubt open a ticket.

PreviousAdvanced IdentityNextAdvanced Trucker

Last updated 2 years ago

1. DOWNLOAD

The first step is to download the product we have just purchased. To do this we will go to our account and search for "Buty-Identity".

2. DEPENDENCIES AND INSTALLATION

THIS SCRIPT ONLY WORKS ON ESX and ITS MORE MODERN VERSIONS.

IT DOES NOT WORK ON QB OR MULTICHARACTER.

It is important that you ensure the script under the ESX core scripts, such as es_extended or spawnmanager.

NEVER ENSURE THE SCRIPT BEFORE THOSE!

  1. To install it add the resource to your scripts folder and put the following in your SERVER.CFG:

ensure Buty-Identity

2. Go to es_extended/client/main.lua

3. Search for "esx:playerLoaded".

4. Change the coordinates of "exports.spawnmanager:spawnPlayer" to these:

x = -1860.92, y = -1191.12, z = 12.0,

IT SHOULD LOOK LIKE THIS:

exports.spawnmanager:spawnPlayer({
x = -1860.92,
y = -1191.12,
z = 12.0,
heading = ESX.PlayerData.coords.heading,
model = GetHashKey("mp_m_freemode_01"),
skipFade = false

5. Save everything and RESTART the entire server.

3. CONFIG

The following will explain all the settings, one of the most important things that I recommend you spend a few minutes to understand in order to offer your users the best possible experience.

To make it easier for you to configure, this script comes with several configuration files, each one for one thing. You can see it explained below:

Here you will only have to configure your framework, your database and some extra settings.

Config = {}

Config.Configuration = {
    [1] = {esx = 'es_extended'},
    [2] = {Mysql = 'oxmysql'} -- oxmysql, mysql-async or ghmattisql
} 

Config.Coords = {
    [1] = {SpawnInfo = vector3(-1860.92, -1191.12, 12.0), SpawnInfoHeading = 221.44},
    [2] = {CamSpawn = vector3(-1857.96, -1191.96, 13.0), CamSpawnRot = vector3(0.0, 0.0, 80.0)},
    [3] = {FirstSpawn = vector3(-1035.79, -2733.12, 20.0)}
}

Config.RewardFirstSpawn = {
    [1] = {items = true, itemsname = {"bread", "water", "phone"}, itemsamount = {2, 2, 1}}, -- you can add as many items as you want or remove them.
    [2] = {money = true, moneytype = 'cash', amount = 1000} -- cash or bank
}

Config.Command = {
    [1] = {Register = true, Name = 'register'},
    [2] = {Info = true, Name = 'charinfo'}
}

Config.ValuesRegister = {MaxHeight = 200, MinHeight = 140, MaxName = 10, MinName = 3}

Config.Anim = {Anim = "amb@world_human_leaning@female@wall@back@holding_elbow@idle_a", Anim2 = "idle_a"}

Config.Translation = {
    [1] = 'Invalid date of birth!',
    [2] = 'Unacceptable player height!',
    [3] = 'Your name is too long.',
    [4] = 'Your player name contains special characters that are not allowed on this server.',
    [5] = "Are you dead? You can't be that old."
}

Here you can change the CHARCREATOR, in case you use something other than esx_skin.

OpenMenuSkin = function()
    TriggerEvent('esx_skin:openSaveableMenu', PlayerPedId())
end
📚
🧑‍đŸĻą
KEYMASTER