TextDisplayIsObserver: Difference between revisions

From Multi Theft Auto: Wiki
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 player )</syntaxhighlight>
<syntaxhighlight lang="lua">bool textDisplayIsObserver ( textdisplay display, player thePlayer )</syntaxhighlight>


===Required Arguments===
===Required Arguments===


* '''display''': The [[textdisplay]].
* '''display''': The [[textdisplay]].
* '''player''': The [[player]].
* '''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

Returns

Return true if textdisplay is showing, or false if not.

Example

-- Example

See Also