Skip to main content

DeletePersistentEntity

Description​

Removes a persistent entity that was created via CreatePersistentEntity.

function DeletePersistentEntity(objectId, objectPool) --[[ ... ]] end

Parameters​

  • objectId: integer - The ID of the persistent entity to delete.
  • objectPool: integer - The object pool index associated with the entity.

Return Values​

None.

Example​

None.

See Also​