ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. textDisplayGetObservers

Function

textDisplayGetObservers

ServerText displaysIdentical to MTA:SA

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))

See also