Discarded entityactions and updated target

Discarded entityactions: was not used and bloat. Need a new system that handled networked entities static vs dynamic (non-moving non networked vs moving networked)

updated target to improve performance on canInteract. It seems that the target systems spam this function. Using a state and checking every second instead of allowing spamming

Added ClientEntity.ChangeModel
This commit is contained in:
Mr.Crowley committed 2025-08-20 22:23:07 -05:00
1 parent cbd340326d
commit b06d2fb49e
8 files changed
+73 -190

No files matched your search

-1
View File
@@ -29,7 +29,6 @@ end
function ServerEntity.Create(id, entityType, model, coords, rotation, meta)
local self = ServerEntity.New(id, entityType, model, coords, rotation, meta)
if not self then
-- print("Failed to create entity with ID: " .. tostring(id))
return nil
end
TriggerClientEvent("community_bridge:client:CreateEntity", -1, self)