⚪ESX Trigger Installation
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 !
Last updated