Merge pull request #124 from RedAlex/master

Automaticly undrag when putting in vehicle
This commit is contained in:
Samuel
2018-07-16 13:05:19 +02:00
committed by GitHub
+2 -1
View File
@@ -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