Entity::setVisible: Difference between revisions

From RAGE Multiplayer Wiki
 
(2 intermediate revisions by one other user not shown)
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>
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
entity.setVisible(toggle, 0);
entity.setVisible(toggle, false);
</syntaxhighlight>
</syntaxhighlight>


==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:10, 1 May 2024

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