Ped
Hierarchy
- Entity
- Ped
Index
Properties
Accessors
Methods
Properties
publicreadonlyarmour
publicreadonlycurrentWeapon
Currently equipped weapon.
publicdimension
Object dimension.
publicfrozen
publicreadonlyhealth
Current health of the ped.
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.
publicreadonlymaxHealth
Current max health of the ped.
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
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
Type parameters
- K: string
publicgetStreamSyncedMetaKeys
publicgetSyncInfo
publicgetSyncedMeta
Type parameters
- K: string
publicgetSyncedMetaKeys
publichasMeta
publichasStreamSyncedMeta
publichasSyncedMeta
publicsetMeta
Type parameters
- K: string
publicstaticgetByID
Retrieves the ped from the pool.
publicstaticgetByRemoteID
Gets the ped with the given remote id
publicstaticgetByScriptID
Retrieves the ped from the pool.
Current armour.