forked from Simnation/Main
Merge branch 'master' of https://git.evolution-state-life.de/Evolution-State-Life/Main
This commit is contained in:
commit
857f210323
3 changed files with 9 additions and 4 deletions
|
@ -5,7 +5,6 @@ game 'gta5'
|
|||
lua54 'yes'
|
||||
|
||||
client_scripts {
|
||||
'@NativeUI/NativeUI.lua',
|
||||
'@ox_lib/init.lua',
|
||||
'config/*.lua',
|
||||
'client/*.lua'
|
||||
|
|
|
@ -105,12 +105,12 @@ Citizen.CreateThread(function()
|
|||
end
|
||||
|
||||
-- lock vehicle with key
|
||||
if (Config.lockKey and IsControlJustPressed(0, Config.lockKey)) then
|
||||
--[[ if (Config.lockKey and IsControlJustPressed(0, Config.lockKey)) then
|
||||
local vehicle = GetClosestVehicle(GetEntityCoords(PlayerPedId()), 10.0)
|
||||
if (DoesEntityExist(vehicle) and IsVehicleOrKeyOwner(vehicle)) then
|
||||
ToggleLock(vehicle, GetVehicleDoorLockStatus(vehicle) ~= LockStatus.Locked)
|
||||
end
|
||||
end
|
||||
end ]]
|
||||
end
|
||||
end)
|
||||
|
||||
|
@ -799,3 +799,9 @@ local entityEnumerator = {
|
|||
end
|
||||
end, false)
|
||||
]]
|
||||
|
||||
|
||||
RegisterKeyMapping("vehicleLock", "Vehicle Lock", "keyboard", "PAGEUP")
|
||||
RegisterCommand("vehicleLock", function()
|
||||
TriggerEvent("VKC:toggleLockOnPlayer")
|
||||
end, false)
|
|
@ -12,7 +12,7 @@ Config.LogMenu = {
|
|||
Config.Zonen = {
|
||||
ambulance = {
|
||||
Job = "ambulance",
|
||||
Chiefrang = 11,
|
||||
Chiefrang = 7,
|
||||
Schluesselkasten = vector3(-1843.8058, -367.9872, 39.7909),
|
||||
EnabledGrade = 2,
|
||||
EnabledMarker = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue