- Documentation
- Server functions
- textDisplayGetObservers
Function
textDisplayGetObservers
Returns the players who see a display.
Syntax
table textDisplayGetObservers(textdisplay theDisplay)Arguments
theDisplaytextdisplay- The display.
Returns
A table of players.
Example
local display = textCreateDisplay()
outputDebugString("Widzow: " .. #textDisplayGetObservers(display))