Merge pull request #144 from TheOrderFivem/crowleys-branch

prep for behaviors
This commit is contained in:
MrNewb authored and GitHub committed 2025-08-31 03:12:26 -04:00
commit c0e8b7e447
1 file changed
+3
+3
View File
@@ -93,6 +93,9 @@ function ServerEntity.Set(id, data)
return true return true
end end
function ServerEntity.RegisterBehavior(id, behavior)
Behaviors.Create(id, behavior)
end
-- Clean up entities associated with a stopped resource -- Clean up entities associated with a stopped resource
AddEventHandler('onResourceStop', function(resourceName) AddEventHandler('onResourceStop', function(resourceName)