Skip to content

getPedPhysicalProofs

Client-side

Read the NPC's five stored physical-damage protections so a resource can change them temporarily and restore them later.

Syntax

bool, bool, bool, bool, bool getPedPhysicalProofs(ped thePed)

GTA task mapping

NATIVE GTA BEHAVIOR
No CTask is created

This is a policy query, not a CTask or SCM command. It reads the tuple persisted on the MTA ped.

Arguments

thePedped

Ped whose local proof tuple should be read.

Returns

Five booleans in bullet, fire, explosion, collision, and melee order. An invalid ped returns five false values.

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.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →