mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(PR): Fixed the PR code
This commit is contained in:
@@ -56,12 +56,6 @@ CreateThread(function()
|
||||
isEnteringVehicle = true
|
||||
TriggerEvent('esx:enteringVehicle', vehicle, plate, seat, netId)
|
||||
TriggerServerEvent('esx:enteringVehicle', plate, seat, netId)
|
||||
if Config.DisableVehicleSeatShuff then
|
||||
if seat == 0 then
|
||||
SetPedIntoVehicle(playerPed, vehicle, 0)
|
||||
SetPedConfigFlag(playerPed, 184, true)
|
||||
end
|
||||
end
|
||||
elseif not DoesEntityExist(GetVehiclePedIsTryingToEnter(playerPed)) and
|
||||
not IsPedInAnyVehicle(playerPed, true) and isEnteringVehicle then
|
||||
-- vehicle entering aborted
|
||||
|
||||
Reference in New Issue
Block a user