Player::setPlayerInvincible

From RAGE Multiplayer Wiki
Revision as of 21:29, 6 May 2017 by Marty uploader (talk | contribs) (yay)

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

mp.game.player.setPlayerInvincible(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also