SetText3DVisibility: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Set the text3d visibility for players. If you use this function then you will have to call this function on every player who sh..."
 
28days (talk | contribs)
No edit summary
Line 14: Line 14:
== Example ==
== Example ==
<syntaxhighlight lang="Lua>
<syntaxhighlight lang="Lua>
__EDIT_ME__
SetText3DVisbility(pickupId, playerId, true)
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:PickupFunctions}}
{{Template:PickupFunctions}}

Revision as of 17:01, 13 December 2019

SetText3DVisibility

Type: Function
Context: Server
Introduced: v1.0

Description

Set the text3d visibility for players. If you use this function then you will have to call this function on every player who should see this text3d.

Syntax

SetText3DVisibility(pickup, text3d, bVisible)

Parameters

  • text3d
    The text3d identifier.
  • player
    The player identifier.
  • bVisible
    true to make it visible.

Return Value

  • Returns true on success.

Example

SetText3DVisbility(pickupId, playerId, true)

See also