Object
Hierarchy
- Entity
- Object
Index
Properties
Accessors
Methods
Properties
publicreadonlyalpha
publicdimension
publicfrozen
publicreadonlyid
publicreadonlyisRemote
Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
publicreadonlyisSpawned
Returns whether the entity is spawned in the game world.
publicreadonlylodDistance
The distance at which the LOD model of the object starts being applied.
publicreadonlynetOwner
Network owner of the entity.
publicpos
Object position.
publicreadonlyrefCount
Returns the ref count of the entity.
publicreadonlyremoteID
The serverside id of this entity.
publicrot
Entity rotation in radians
publicreadonlyscriptID
Internal game id that can be used in native calls
publicreadonlytextureVariation
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
publicreadonlyvisible
publicstaticreadonlyall
publicstaticreadonlycount
publicstaticreadonlystreamedIn
Accessors
publicmodel
Hash of entity model
Getter
Methods
publicdeleteMeta
publicdestroy
Removes the object from the world.
publicgetMeta
Type parameters
- K: string
publicgetMetaDataKeys
publicgetStreamSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetStreamSyncedMetaKeys
publicgetSyncInfo
publicgetSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetSyncedMetaKeys
publichasMeta
publichasStreamSyncedMeta
Determines whether contains the specified key.
publichasSyncedMeta
Determines whether contains the specified key.
publicsetMeta
Type parameters
- K: string
publicstaticgetByID
publicstaticgetByRemoteID
Gets the object with the given remote id
publicstaticgetByScriptID
Retrieves the entity from the pool.
Object dimension.
Remarks
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.