forked from Simnation/Main
Update client.lua
This commit is contained in:
parent
986f2c1661
commit
0c41aff40d
1 changed files with 16 additions and 2 deletions
|
@ -523,7 +523,14 @@ function ToggleLockOnVehicle(vehicle, lock)
|
|||
if (lock) then
|
||||
SetVehicleDoorsShut(vehicle, false)
|
||||
SetVehicleDoorsLocked(vehicle, LockStatus.Locked)
|
||||
exports['okokNotify']:Alert("Fahrzeug", "Du hast dein Fahrzeug Abgeschlossen", 3000, 'error')
|
||||
--exports['okokNotify']:Alert("Fahrzeug", "Du hast dein Fahrzeug Abgeschlossen", 3000, 'error')
|
||||
lib.notify({
|
||||
title = "Fahrzeug",
|
||||
description = "Du hast dein Fahrzeug Abgeschlossen",
|
||||
position = "top",
|
||||
type = "error",
|
||||
icon = "car"
|
||||
})
|
||||
|
||||
|
||||
SetVehicleLights(vehicle, 2)
|
||||
|
@ -535,7 +542,14 @@ function ToggleLockOnVehicle(vehicle, lock)
|
|||
SetVehicleLights(vehicle, 0)
|
||||
else
|
||||
SetVehicleDoorsLocked(vehicle, LockStatus.Unlocked)
|
||||
exports['okokNotify']:Alert("Fahrzeug", "Du hast dein Fahrzeug Aufgeschlossen", 3000, 'success')
|
||||
--exports['okokNotify']:Alert("Fahrzeug", "Du hast dein Fahrzeug Aufgeschlossen", 3000, 'success')
|
||||
lib.notify({
|
||||
title = "Fahrzeug",
|
||||
description = "Du hast dein Fahrzeug Aufgeschlossen",
|
||||
position = "top",
|
||||
type = "success",
|
||||
icon = "car"
|
||||
})
|
||||
|
||||
SetVehicleLights(vehicle, 2)
|
||||
Citizen.Wait(150)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue