Player::setPlayerInvincible
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
```js mp.game.player.setInvincible(toggle); ```
Required Arguments
- toggle: Boolean
Return value
- Undefined
Example
```js // todo ```