Jump to content

IS_PLAYER_DEAD


Native Details

  • NameIS_PLAYER_DEAD
  • NamespacePLAYER
  • Native Hash0x2E9C3FCB6798F397
  • TypeBOOL
  • First seen version1207

Native Parameters

DESCRIPTION

Returns 1 when the player is dead and 0 when he is alive. This function doesn't activate during missions only when free roaming.


CODE EXAMPLE

//example in c++ using AB scripthook
if (PLAYER::IS_PLAYER_DEAD(PLAYER::PLAYER_ID()) == true) { //if the player died
			CASH::_0x466BC8769CF26A7A(1); //REMOVE MONEY 
}

User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

Recently Browsing 0

  • No registered users viewing this page.