Skip to main content

SET_PLAYER_INVINCIBLE

Game.SetPlayerInvincibleHash0x7E9E02E1
Usage
Game.SetPlayerInvincible(playerIndex, invincible)

Set the player invincible to all damage types.

Parameters

  • playerIndexintegerint
  • invinciblebooleanbool

Returns

Nothing

Original declaration
// 0x7E9E02E1
void SET_PLAYER_INVINCIBLE(int playerIndex, bool invincible);