Ped
Hierarchy
- Entity
- Ped
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
publicarmour
publiccollision
publiccurrentWeapon
publicdimension
publicfrozen
publichealth
publicreadonlyid
publicmaxHealth
publicreadonlynetOwner
Network owner of the entity.
publicpos
Object position.
publicreadonlyrefCount
Returns the ref count of the entity.
publicrot
Entity rotation.
publicstreamed
Whether the entity should be streamed for other entities.
publicstreamingDistance
publicreadonlytimestamp
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
publicvisible
Whether the entity is visible.
publicstaticreadonlyall
publicstaticreadonlycount
Accessors
publicmodel
Entity model hash.
Getter
Setter
Methods
publicattachTo
Attaches this entity to another entity.
publicdeleteMeta
publicdeleteStreamSyncedMeta
Removes the specified key and the data connected to that specific key.
publicdeleteSyncedMeta
Removes the specified key and the data connected to that specific key.
publicdestroy
Removes the object from the world.
publicdetach
Detaches this entity if attached to another entity.
publicgetMeta
Type parameters
- K: string
publicgetMetaDataKeys
publicgetStreamSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetStreamSyncedMetaKeys
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.
publicresetNetOwner
Resets overwritten network owner.
publicsetMeta
Type parameters
- K: string
publicsetNetOwner
Changes network owner to the specified player.
publicsetStreamSyncedMeta
Stores the given value with the specified key.
Type parameters
- K: string
publicsetSyncedMeta
Stores the given value with the specified key.
Type parameters
- K: string
publicstaticgetByID
Retrieves the ped from the pool.
Object dimension.
Remarks
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.