WorldObject
Hierarchy
- BaseObject
- WorldObject
Index
Properties
publicdimension
publicreadonlyid
publicreadonlyisRemote
Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
publicpos
Object position
publicreadonlyrefCount
Returns the ref count of the entity.
publicreadonlyremoteID
The serverside id of this entity.
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
Methods
publicdeleteMeta
publicdestroy
Removes the object from the world.
publicgetMeta
Type parameters
- K: string
publicgetMetaDataKeys
publicgetSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetSyncedMetaKeys
publichasMeta
publichasSyncedMeta
Determines whether contains the specified key.
publicsetMeta
Type parameters
- K: string
publicstaticgetByID
Gets the base object with the given type and local id
Object dimension.
Remarks
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.