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'
|
lua54 'yes'
|
||||||
|
|
||||||
client_scripts {
|
client_scripts {
|
||||||
'@NativeUI/NativeUI.lua',
|
|
||||||
'@ox_lib/init.lua',
|
'@ox_lib/init.lua',
|
||||||
'config/*.lua',
|
'config/*.lua',
|
||||||
'client/*.lua'
|
'client/*.lua'
|
||||||
|
|
|
@ -105,12 +105,12 @@ Citizen.CreateThread(function()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- lock vehicle with key
|
-- 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)
|
local vehicle = GetClosestVehicle(GetEntityCoords(PlayerPedId()), 10.0)
|
||||||
if (DoesEntityExist(vehicle) and IsVehicleOrKeyOwner(vehicle)) then
|
if (DoesEntityExist(vehicle) and IsVehicleOrKeyOwner(vehicle)) then
|
||||||
ToggleLock(vehicle, GetVehicleDoorLockStatus(vehicle) ~= LockStatus.Locked)
|
ToggleLock(vehicle, GetVehicleDoorLockStatus(vehicle) ~= LockStatus.Locked)
|
||||||
end
|
end
|
||||||
end
|
end ]]
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
@ -799,3 +799,9 @@ local entityEnumerator = {
|
||||||
end
|
end
|
||||||
end, false)
|
end, false)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
|
||||||
|
RegisterKeyMapping("vehicleLock", "Vehicle Lock", "keyboard", "PAGEUP")
|
||||||
|
RegisterCommand("vehicleLock", function()
|
||||||
|
TriggerEvent("VKC:toggleLockOnPlayer")
|
||||||
|
end, false)
|
|
@ -12,7 +12,7 @@ Config.LogMenu = {
|
||||||
Config.Zonen = {
|
Config.Zonen = {
|
||||||
ambulance = {
|
ambulance = {
|
||||||
Job = "ambulance",
|
Job = "ambulance",
|
||||||
Chiefrang = 11,
|
Chiefrang = 7,
|
||||||
Schluesselkasten = vector3(-1843.8058, -367.9872, 39.7909),
|
Schluesselkasten = vector3(-1843.8058, -367.9872, 39.7909),
|
||||||
EnabledGrade = 2,
|
EnabledGrade = 2,
|
||||||
EnabledMarker = true,
|
EnabledMarker = true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue