TextDisplayGetObservers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server function}} | {{Server function}} | ||
This function can be used to retrieve all the [[player]]s currently observing a specified [[textdisplay]]. | |||
This function | |||
==Syntax== | ==Syntax== | ||
Line 8: | Line 7: | ||
===Required Arguments=== | ===Required Arguments=== | ||
* '''theDisplay''': The [[textdisplay]]. | * '''theDisplay''': The [[textdisplay]] of which observers you want to get. | ||
===Returns=== | ===Returns=== | ||
Returns a table of players that are observers | Returns a [[table]] of players that are observers of the display or ''false'' if invalid textdisplay is passed. | ||
==Example== | ==Example== | ||
Line 22: | Line 21: | ||
==See Also== | ==See Also== | ||
{{Text functions}} | {{Text functions}} | ||
[[Category:Needs Example]] | [[Category:Needs Example]] |
Revision as of 08:10, 22 June 2009
This function can be used to retrieve all the players currently observing a specified textdisplay.
Syntax
table textDisplayGetObservers ( textdisplay theDisplay )
Required Arguments
- theDisplay: The textdisplay of which observers you want to get.
Returns
Returns a table of players that are observers of the display or false if invalid textdisplay is passed.
Example
Click to collapse [-]
Server--TODO
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText