getPedPhysicalProofs
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
This is a policy query, not a CTask or SCM command. It reads the tuple persisted on the MTA ped.
Arguments
thePedpedPed 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
Continue exploring
← Back to the SA:O Lua API · How Native ped tasks and gang tags works →