adding lapd station mlo

This commit is contained in:
KingMcDonalds
2025-09-26 04:26:32 -07:00
parent 648c12ff8c
commit fa5b3a4093
263 changed files with 784 additions and 3 deletions
@@ -0,0 +1,53 @@
local l0_InteriorCoords = vector3(-544.969, -619.2974, 28.4421482)
local l1n2_InteriorCoords = vector3(-570.8912, -620.4338, 34.06089)
local EntitySets = {
US = "int_h_polstation_us_jails",
EU = "int_h_polstation_eu_jails",
MetalDetectors = "int_h_polstation_metal_detectors",
MetalDetectorsAlt = "int_h_polstation_metal_detectors_alternative"
}
CreateThread(function()
local jailInteriorID = GetInteriorAtCoords(l0_InteriorCoords)
if jailInteriorID ~= 0 then
while not IsInteriorReady(jailInteriorID) do Wait(100) end
local entitySet = EntitySets[Config.CellType]
if entitySet then
ActivateInteriorEntitySet(jailInteriorID, entitySet)
else
print("Invalid CellType in config. Use 'US' or 'EU'.")
end
RefreshInterior(jailInteriorID)
end
local lobbyInteriorID = GetInteriorAtCoords(l1n2_InteriorCoords)
if lobbyInteriorID ~= 0 then
while not IsInteriorReady(lobbyInteriorID) do Wait(100) end
local metalSet = Config.EnableMetalDetectors and EntitySets.MetalDetectors or EntitySets.MetalDetectorsAlt
ActivateInteriorEntitySet(lobbyInteriorID, metalSet)
RefreshInterior(lobbyInteriorID)
end
end)
local scenarioArea = {
vector3(-614.798950, -641.5, 20.112480),
vector3(-452.403564, -570.0, 44.588379)
}
CreateThread(function()
AddScenarioBlockingArea(
scenarioArea[1].x, scenarioArea[1].y, scenarioArea[1].z,
scenarioArea[2].x, scenarioArea[2].y, scenarioArea[2].z,
false, true, true, true
)
SetStaticEmitterEnabled("hash_51b97e83_addkdlxe_collision", false)
local oldinterior = GetInteriorAtCoordsWithType(-573.6203, -580.9265, 25.9448547, 'kt1_04_roadtunnel_int')
DisableInterior(oldinterior, true)
UnpinInterior(oldinterior)
end)
@@ -0,0 +1,7 @@
Config = {}
-- Choose the jail cell style: "US" = American-style cells, "EU" = European-style cells
Config.CellType = "US"
-- Enable or disable metal detectors in the lobby
Config.EnableMetalDetectors = true
@@ -0,0 +1,27 @@
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
lua54 'yes'
-- Download Door Audio and Door Tuning at https://github.com/Heleniust/helnius-map-data
author 'helnius' -- Discord: https://discord.gg/RGgqnsxvMv, Tebex: https://store.helnius.com/
description 'Little Seoul station, Los Santos Police Department'
version '1.0.2-release'
server_script 'version-check.lua'
escrow_ignore {
'config.lua',
'client.lua',
'version-check.lua',
'stream/INT/Non-Escrowed/*.ydr',
'stream/EXT_kt1_04/Non-Escrowed/*.ydr'
}
client_scripts {
'client.lua',
'config.lua'
}
file 'stream/AUDIO/h_int_alta_polstation_game.dat151.rel'
data_file 'AUDIO_GAMEDATA' 'stream/AUDIO/h_int_alta_polstation_game.dat'
dependency '/assetpacks'

Some files were not shown because too many files have changed in this diff Show More