LocalPed
Hierarchy
- Ped
- LocalPed
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Properties
publicreadonlyarmour
Current armour.
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.
publicreadonlyisStreamedIn
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
publicreadonlyscriptID
publicreadonlystreamingDistance
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
publicvisible
publicstaticreadonlyall
publicstaticreadonlycount
publicstaticreadonlystreamedIn
Accessors
publicmodel
Getter
Setter
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
publicwaitForSpawn
Waits asynchronously until the ped spawns.
publicstaticgetByID
Retrieves the localPed from the pool.
publicstaticgetByRemoteID
Gets the ped with the given remote id
publicstaticgetByScriptID
Retrieves the localPed from the pool.
Creates static local ped without streaming enabled.