fix(es_extended/client/main): disable shuffle for all seats

This commit is contained in:
Kasey FItton
2024-10-24 14:02:00 +01:00
parent 9e69c5b71f
commit 1beb0cf245
+2 -2
View File
@@ -169,8 +169,8 @@ local function ApplyConfig()
if Config.DisableVehicleSeatShuff then
AddEventHandler("esx:enteredVehicle", function(vehicle, _, seat)
if seat == 0 then
SetPedIntoVehicle(ESX.PlayerData.ped, vehicle, 0)
if seat > -1 then
SetPedIntoVehicle(ESX.PlayerData.ped, vehicle, seat)
SetPedConfigFlag(ESX.PlayerData.ped, 184, true)
end
end)