Jump to content

isClientPedDead


Drakath

Recommended Posts

Posted

You can just check the ped health with getElementHealth.

function isClientPedDead ( thePed ) 
    if isElement ( thePed ) then 
        return ( getElementHealth ( thePed ) <= 0 ) 
    else 
        return false 
    end 
end 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...