SetPlayerInvincible

From GT-MP
Jump to: navigation, search
SetPlayerInvincible
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the player invincible / vincible.

Syntax

API.setPlayerInvincible(bool invinc);

Required Arguments

  • invinc: parameter input should be in bool type.

Usage example(s)

API.setPlayerInvincible(bool invinc);

References