Small fix for client entities and qb stashes and shops

Shops: aligned format with others and removed the instant open (on create)

Stashes: Updated for new version of qb (exports)

Entities: returning point object
This commit is contained in:
gononono64 committed 2025-05-24 15:36:05 -05:00
1 parent 7d83c7579b
commit b9f5a3ed64
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ function ClientEntity.Register(entityData)
-- Use Point system for proximity checks
-- print(string.format("[ClientEntity] Registering entity %s at %s", entityData.id, json.encode(entityData)))
Point.Register(entityData.id, entityData.coords, entityData.spawnDistance or 50.0, entityData, SpawnEntity, RemoveEntity, function() end)
return Point.Register(entityData.id, entityData.coords, entityData.spawnDistance or 50.0, entityData, SpawnEntity, RemoveEntity, function() end)
end
--- Unregisters an entity and removes it from the world if spawned.