PLAYER
GET_PLAYER_INVINCIBLE
0xB721981B2B939E07
Jenkins: 0x680C90EE
Signature
// PLAYER
BOOL GET_PLAYER_INVINCIBLE(Player player)
Parameters
| Type | Name |
|---|---|
| Player | player |
Return type BOOL
Build 323
Documentation
Returns the Player's Invincible status. This function will always return false if 0x733A643B5B0C53C1 is used to set the invincibility status. To always get the correct result, use this: bool IsPlayerInvincible(Player player) { auto addr = getScriptHandleBaseAddress(GET_PLAYER_PED(player)); if (addr) { DWORD flag = *(DWORD *)(addr + 0x188); return ((flag & (1 << 8)) != 0) || ((flag & (1 << 9)) != 0); } return false; }
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.