🚚Courier

Table to work with CCourier.

CCourier extends CNPC

IsFlyingCourier(courier: CCourier): boolean

Name
Type
Description

courier

The courier to check.

Returns true if the courier is flying.


GetRespawnTime(courier: CCourier): number

Name
Type
Description

courier

The courier to check.

Returns the game time when the courier will respawn.


GetCourierState(courier: CCourier): Enum.CourierState

Name
Type
Description

courier

The courier to check.

Returns the courier state.


GetPlayerID(courier: CCourier): integer

Name
Type
Description

courier

The courier to check.

Returns owner's player id.


GetCourierStateEntity(courier: CCourier): CEntity|nil

Name
Type
Description

courier

The courier to check.

Returns the entity that the courier is currently interacting with.

Last updated