SetPlayerHealth
Sets the health of a player - if you use -1, the player will get killed.
- player: Parameter input should be in Player type.
- health: Parameter input should be in int type.
{{#tag:syntaxhighlight| Player.SetPlayerHealth(player, 100); |lang=csharp}} }}