Added many more spawn points and fixed spelling

This commit is contained in:
ElPumpo
2018-08-04 22:56:49 +02:00
parent 78413c2f7b
commit c3b7b88fe8
3 changed files with 107 additions and 12 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ function OpenBoatGarage(garage)
TriggerServerEvent('esx_boat:takeOutVehicle', vehicleProps.plate)
ESX.ShowNotification(_U('garage_taken'))
ESX.Game.SpawnVehicle(vehicleProps.model, garage.SpawnPoint, 20, function(vehicle)
ESX.Game.SpawnVehicle(vehicleProps.model, garage.SpawnPoint, garage.Heading, function(vehicle)
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
ESX.Game.SetVehicleProperties(vehicle, vehicleProps)
end)