mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Merge pull request #124 from RedAlex/master
Automaticly undrag when putting in vehicle
This commit is contained in:
+2
-1
@@ -1476,6 +1476,7 @@ AddEventHandler('esx_policejob:putInVehicle', function()
|
||||
|
||||
if freeSeat ~= nil then
|
||||
TaskWarpPedIntoVehicle(playerPed, vehicle, freeSeat)
|
||||
IsDragged = false
|
||||
end
|
||||
|
||||
end
|
||||
@@ -1948,4 +1949,4 @@ function ImpoundVehicle(vehicle)
|
||||
ESX.Game.DeleteVehicle(vehicle)
|
||||
ESX.ShowNotification(_U('impound_successful'))
|
||||
CurrentTask.Busy = false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user