0ixb-stashes/fxmanifest.lua
Bxio 55b4506225 Clean up spawned safe props on resource stop, bump to 1.1.3
The cleanup loop ran on onClientResourceStart, but spawnedSafes is
already a fresh empty table by then, so it never actually deleted
anything. Props from before a restart stayed orphaned in the world
and got duplicated by the requestSync on start. Moved the cleanup to
onClientResourceStop, which runs while the entities are still known.
2026-08-03 11:38:57 +00:00

39 lines
653 B
Lua

fx_version 'cerulean'
game 'gta5'
lua54 'yes'
author 'SeuNome'
description 'Sistema de safes com ox_inventory e ox_target'
version '1.1.3'
-- Dependências
dependencies {
'ox_inventory',
'ox_target',
'ox_lib',
'oxmysql'
}
-- Shared / Config
shared_script '@ox_lib/init.lua'
shared_script 'config.lua'
-- Scripts do servidor
server_scripts {
'@oxmysql/lib/MySQL.lua', -- garante que o oxmysql esteja carregado
'server.lua'
}
-- Scripts do cliente
client_scripts {
'client.lua'
}
-- Comandos do console / debug
escrow_ignore {
'config.lua',
'client.lua',
'server.lua'
}