Entity::setVisible: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
unk was always 0.
unk was always false.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.setVisible(toggle, unk);</syntaxhighlight>
<syntaxhighlight lang="javascript">entity.setVisible(toggle, unk);</syntaxhighlight>

Revision as of 21:20, 13 February 2020

unk was always false.

Syntax

entity.setVisible(toggle, unk);

Required Arguments

  • toggle: Boolean
  • unk: Boolean

Return value

  • Undefined

Example

entity.setVisible(toggle, false);

See also