- Documentation
- Shared functions
- isPedDamageProof
Function
isPedDamageProof
Checks whether a player or an NPC is damage proof (setPedDamageProof).
Syntax
bool isPedDamageProof(ped thePed)Arguments
thePedped- A player or an NPC.
Returns
true when damage proof.
Example
if isPedDamageProof(localPlayer) then dxDrawText("OCHRONA", 20, 300) end