general
config.bags_models = {} -- define props for the robbery bagconfig.keys_actions = {} -- define keys to interact in the robberyconfig.skills_levels = {} -- define difficulty levels for the game skill testconfig.dimension = 0 -- define default bucket serverPRIMARY_COLOR = "#3693FF" -- define colors interfaceGIVE_ITEMS_AFTER_ROBBERY_TIME = 1 * 60 -- seconds => define the time to redeem awards--- show the list of stealable houses.
--- you can create a custom command if you want.
CreateThread(function()
if IsDuplicityVersion() then
return
end
RegisterCommand("houserobbery", function(source, args, rawCommand)
local blips = {}
for k, v in pairs(HOUSES_LIST) do
local blip = utils.createBlip({
coords = vector3(v.coords.x, v.coords.y, v.coords.z),
sprite = 40,
color = 6,
scale = 0.7,
text = "Houses Robberies",
})
table.insert(blips, blip)
end
SetTimeout(30 * 1000, function()
for k, v in pairs(blips) do
if DoesBlipExist(v) then
RemoveBlip(v)
end
end
end)
framework.sendNotify({ type = "alert", message = "See in map houses stealable list", time = 9000 })
end, true)
end)Last updated