Vestige Scripts
TebexDiscordYoutube
  • 🔨Tuff Script's
  • SCRIPTS
    • Tuff Advance WheelStancer
      • 💻Installation Guide
        • 🔴QBCore Trigger Installation
        • ⚪ESX Trigger Installation
      • ⚙️Config File
    • Tuff Advance Nitrous and Purge
      • 💻Installation Guide
      • ⚙️Config File
  • others
    • Discord Webhook
Powered by GitBook
On this page
  • ESX Framework Core Events !
  • Script Finalization
  1. SCRIPTS
  2. Tuff Advance WheelStancer
  3. Installation Guide

ESX Trigger Installation

PreviousQBCore Trigger InstallationNextConfig File

Last updated 1 year ago

ESX Framework Core Events !

  • Open \resources\[core]\es_extended\client\functions.lua and Search the following function :

function ESX.Game.SetVehicleProperties(vehicle, props)
  • Add the following trigger at the end of the searched function:

-- Trigger the callback to get stance values
    ESX.TriggerServerCallback('Garages:server:GetStanceValues', function(stance_value)
        if stance_value ~= nil then
            TriggerServerEvent('Stancer_sv:LoadStanceValues', stance_value, VehToNet(vehicle))
        end
    end, props.plate)

It should look like this :


Script Finalization

After doing the above changes go through config.lua file to customize the script to your liking. Start/Restart the server to apply the changes and you are good to go !


💻
⚪
ESX Framework
Example Picture for how it should look like after Trigger Addition