Player::setInvincible

From RAGE Multiplayer Wiki
Revision as of 23:46, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Simply sets you as invincible (Health will not deplete).

Use 0x733A643B5B0C53C1 instead if you want Ragdoll enabled, which is equal to:
*(DWORD *)(playerPedAddress + 0x188) |= (1 << 9);

Syntax

player.setInvincible(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also