Skip to content
On this page

AthenaShared.interfaces.iPed.IPed

shared/interfaces/iPed.IPed

Used to pass static ped information from server to client.

Interface

IPed

Properties

animations

Optional animations: Animation[]

A list of random animations to play on this pedestrian.

Defined in

shared/interfaces/iPed.ts:51


dimension

Optional dimension: number

Will show across all dimensions.

Defined in

shared/interfaces/iPed.ts:81


heading

Optional heading: number

The rotation of this Ped. 0 - 360

Defined in

shared/interfaces/iPed.ts:30


isBeingCreated

Optional isBeingCreated: boolean

Local Ped Info Do not automatically fill this out.

Defined in

shared/interfaces/iPed.ts:74


local

Optional local: number

Local Ped ID. Do not actually fill this out.

Defined in

shared/interfaces/iPed.ts:66


maxDistance

Optional maxDistance: number

The max distance this Ped should render at.

Defined in

shared/interfaces/iPed.ts:37


model

model: string

The model name this Ped.

Defined in

shared/interfaces/iPed.ts:23


pos

pos: IVector3

Position of the Ped in a 3D space.

Defined in

shared/interfaces/iPed.ts:16


randomizeAppearance

Optional randomizeAppearance: boolean

Should the appearance of this ped be randomized when spawned?

Defined in

shared/interfaces/iPed.ts:58


uid

Optional uid: string

A unique identifier for this Ped.

Defined in

shared/interfaces/iPed.ts:44

Created by Stuyk | Est. 2020