Skip to content

Commit

Permalink
feat: push mlo prison
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 28, 2024
1 parent 6b447fc commit dd2f700
Show file tree
Hide file tree
Showing 115 changed files with 38 additions and 0 deletions.
27 changes: 27 additions & 0 deletions server-data/resources/[maps]/int_prisonfull/client.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
RegisterCommand("alarm_on", function(source, args, rawCommand)
local alarmIpl = GetInteriorAtCoordsWithType(1787.004,2593.1984,45.7978,"int_prison_main")

RefreshInterior(alarmIpl)
EnableInteriorProp(alarmIpl, "prison_alarm")

Citizen.CreateThread(function()
while not PrepareAlarm("PRISON_ALARMS") do
Citizen.Wait(100)
end
StartAlarm("PRISON_ALARMS", true)
end)
end, false)

RegisterCommand("alarm_off", function(source, args, rawCommand)
local alarmIpl = GetInteriorAtCoordsWithType(1787.004,2593.1984,45.7978,"int_prison_main")

RefreshInterior(alarmIpl)
DisableInteriorProp(alarmIpl, "prison_alarm")

Citizen.CreateThread(function()
while not PrepareAlarm("PRISON_ALARMS") do
Citizen.Wait(100)
end
StopAllAlarms(true)
end)
end, false)
5 changes: 5 additions & 0 deletions server-data/resources/[maps]/int_prisonfull/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fx_version("adamant")
game("gta5")
this_is_a_map("yes")
version("1.0.2")
client_script 'client.lua'
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions server-data/resources/[maps]/prisonprops/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fx_version("adamant")
game("gta5")
this_is_a_map("yes")
version("1.0.2")
data_file('DLC_ITYP_REQUEST')('stream/prison_props.ytyp')

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit dd2f700

Please sign in to comment.