1
0
Fork 0
forked from Simnation/Main

del is_busy

This commit is contained in:
root 2025-06-07 09:32:02 +02:00
parent d84b6e12fd
commit 2dfaf23b8e
3 changed files with 0 additions and 29 deletions

View file

@ -1,8 +0,0 @@
CreateThread(function()
print("^2[INV_DEBUG]^7 Starte Überwachung von inv_busy...")
AddStateBagChangeHandler('inv_busy', nil, function(bagName, key, value)
print(('inv_busy geändert von Server für Bag %s → %s'):format(bagName, tostring(value)))
print(debug.traceback())
end)
end)

View file

@ -1,10 +0,0 @@
fx_version 'cerulean'
game 'gta5'
client_scripts {
'client.lua'
}
server_scripts {
'server.lua'
}

View file

@ -1,11 +0,0 @@
local oldSet = Entity(0).state.set
Entity(0).state.set = function(self, key, value, replicate)
if key == "inv_busy" then
local owner = self.owner or "?"
local name = GetPlayerName(owner) or "?"
print(("🔥 [INV-DEBUG] Server: %s (%s) setzt inv_busy = %s"):format(name, owner, tostring(value)))
print(debug.traceback())
end
return oldSet(self, key, value, replicate)
end