- Documentation
- Server functions
- isPedBleeding
Function
isPedBleeding
Returns the value set with setPedBleeding. false by default.
Syntax
bool isPedBleeding(ped ped)Arguments
pedped- A player or an NPC.
Returns
The stored state.
Example
if isPedBleeding(player) then setElementHealth(player, getElementHealth(player) - 1) end