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..." |
No edit summary |
||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | <syntaxhighlight lang="Lua> | ||
SetText3DVisbility(pickupId, playerId, true) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:PickupFunctions}} | {{Template:PickupFunctions}} |
Revision as of 17:01, 13 December 2019
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
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn