Entity::setVisible: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
entity.setVisible(toggle, 0);
entity.setVisible(toggle, false);
</syntaxhighlight>
</syntaxhighlight>



Revision as of 21:20, 13 February 2020

unk was always 0.

Syntax

entity.setVisible(toggle, unk);

Required Arguments

  • toggle: Boolean
  • unk: Boolean

Return value

  • Undefined

Example

entity.setVisible(toggle, false);

See also