Skip to content

isPedMissionActor

Client-side

Available in Neon, not standard MTA

Reports the locally persisted mission-actor policy, including while the native model is streamed out.

Syntax

bool isPedMissionActor(ped thePed)

GTA task mapping

NATIVE GTA BEHAVIOR
No CTask is created

This is a policy query, not a task constructor. It reads Neon's persisted PED_MISSION state even when the GTA ped is currently streamed out.

Arguments

thePedped

Script ped only.

Returns

true when enabled; false when disabled or when the target is not a script ped.

Ownership and lifecycle

Low-level ped task calls require the client that simulates the living, streamed ped. Driving tasks also require control of the streamed vehicle. They do not create lifecycle handles; the optional native-task-runtime adds server-owned route epochs and reconstruction for drive_to routes. Gang-tag ownership is resource-exclusive, survives object streaming and recreation, and is released automatically when the owner stops.

OOP aliases

  • ped:isMissionActor()
  • ped.missionActor

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →