Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Introduced in

Version:2.00

Description

Description:Allows or prevents an object from being damaged (same as allowDammage).

Syntax

Syntax:object allowDamage allow
Parameters:
  • object: Object - The object.
  • allow: Boolean - If false, then unit / object cannot be injured / damaged, or killed / destroyed.
Return Value:Nothing

Examples

Examples:
player allowDamage false

Additional Information

See also: 
Multiplayer:This command only works locally and must run on all machines to have a global affect.
Problems: 

Notes