jkSetInvulnerable


jkSetInvulnerable() makes a thing invulnerable. Make the mode integer 1 to make the thing invulnerable or 0 to turn invul off. The player cannot be made invulnerable until a second or two after startup. Syntax:

jkSetInvulnerable(thing, mode_int);