forked from Simnation/Main
Update client.lua
This commit is contained in:
parent
5ebfa8f93b
commit
4bacee67ba
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ function openRentalDialog(vehicle, location)
|
||||||
locationId = location.id,
|
locationId = location.id,
|
||||||
plate = plate
|
plate = plate
|
||||||
})
|
})
|
||||||
end)
|
end
|
||||||
|
|
||||||
-- Fahrzeug spawnen
|
-- Fahrzeug spawnen
|
||||||
function spawnRentalVehicle(model, spawnPoint, plate)
|
function spawnRentalVehicle(model, spawnPoint, plate)
|
||||||
|
@ -129,7 +129,7 @@ function spawnRentalVehicle(model, spawnPoint, plate)
|
||||||
|
|
||||||
TriggerEvent("vehiclekeys:client:SetOwner", plate)
|
TriggerEvent("vehiclekeys:client:SetOwner", plate)
|
||||||
SetModelAsNoLongerNeeded(model)
|
SetModelAsNoLongerNeeded(model)
|
||||||
end)
|
end
|
||||||
|
|
||||||
-- Fahrzeug zurückgeben
|
-- Fahrzeug zurückgeben
|
||||||
RegisterNetEvent('vehiclerental:client:returnVehicle', function(data)
|
RegisterNetEvent('vehiclerental:client:returnVehicle', function(data)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue