forked from Simnation/Main
del is_busy
This commit is contained in:
parent
d84b6e12fd
commit
2dfaf23b8e
3 changed files with 0 additions and 29 deletions
|
@ -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)
|
|
|
@ -1,10 +0,0 @@
|
||||||
fx_version 'cerulean'
|
|
||||||
game 'gta5'
|
|
||||||
|
|
||||||
client_scripts {
|
|
||||||
'client.lua'
|
|
||||||
}
|
|
||||||
|
|
||||||
server_scripts {
|
|
||||||
'server.lua'
|
|
||||||
}
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue