Class Ped
Inheritance
BaseObject
Ped
Inherited Members
Entity.type
Entity.valid
Entity.id
Entity.destroy
Entity.getMetaDataKeys
Entity.refCount
Package: @altmp/altv-types
Syntax
Constructors
|
Improve this Doc
View Source
Ped(string | number, IVector3, IVector3, number)
Declaration
Ped(model: string | number, position: IVector3, rotation: IVector3, streamingDistance?: number): Ped
Parameters
Type |
Name |
Description |
string | number |
model |
|
IVector3 |
position |
|
IVector3 |
rotation |
|
number |
streamingDistance |
|
Properties
|
Improve this Doc
View Source
all
Declaration
public readonly static all: readonly Ped[]
Property Value
Type |
Description |
readonly Ped[] |
|
|
Improve this Doc
View Source
count
Declaration
public readonly static count: number
Property Value
|
Improve this Doc
View Source
currentWeapon
Declaration
public currentWeapon: number
Property Value
|
Improve this Doc
View Source
health
Declaration
Property Value
|
Improve this Doc
View Source
maxHealth
Declaration
Property Value
|
Improve this Doc
View Source
armour
Declaration
Property Value
Methods
|
Improve this Doc
View Source
getByID(number)
Declaration
public static getByID(id: number): null | Ped
Parameters
Type |
Name |
Description |
number |
id |
|
Returns
Type |
Description |
null | Ped |
|