TextDisplayIsObserver: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool textDisplayIsObserver ( textdisplay display, player | <syntaxhighlight lang="lua">bool textDisplayIsObserver ( textdisplay display, player thePlayer )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
* '''display''': The [[textdisplay]]. | * '''display''': The [[textdisplay]]. | ||
* ''' | * '''thePlayer''': The [[player]]. | ||
===Returns=== | ===Returns=== |
Revision as of 22:37, 27 March 2009
This function checks if a player can see the specified textdisplay.
Syntax
bool textDisplayIsObserver ( textdisplay display, player thePlayer )
Required Arguments
- display: The textdisplay.
- thePlayer: The player.
Returns
Return true if textdisplay is showing, or false if not.
Example
-- Example
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText