-
-
Notifications
You must be signed in to change notification settings - Fork 2
Glossary: Events
Tron edited this page Jun 14, 2022
·
24 revisions
⚠️ This network is destroyed instantly right after its fired, for latter usage refer
network:fetch("Assetify:onLoad", true):on(function()
print("Assetify successfully loaded")
end)
network:fetch("Assetify:onUnload", true):on(function()
print("Assetify successfully unloaded")
end)
⚠️ This network is destroyed instantly right after its fired, for latter usage refer
network:fetch("Assetify:onModuleLoad", true):on(function()
print("Assetify's modules successfully loaded")
end)
network:fetch("Assetify:onLoad", true):on(function(assetType, assetName)
print("Asset Loaded: "..assetName.."("..assetType..")")
end)
network:fetch("Assetify:onUnload", true):on(function(assetType, assetName)
print("Asset Unloaded: "..assetName.."("..assetType..")")
end)
network:fetch("Assetify:onGlobalDataChange", true):on(function(data, oldValue, newValue)
print("Global Data Changed: "..data.." : "..tostring(oldValue).." : "..tostring(newValue))
end)
network:fetch("Assetify:onEntityDataChange", true):on(function(element, data, oldValue, newValue)
print("Entity Data Changed: "..tostring(element).." : "..data.." : "..tostring(oldValue).." : "..tostring(newValue))
end)