TextDisplayRemoveObserver

From Multi Theft Auto: Wiki
Revision as of 21:01, 6 June 2006 by MrJax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This function removes a player observer of a textdisplay. This stops the player from being able to see textitems that the textdisplay contains.

Syntax

void textDisplayRemoveObserver ( textdisplay textDisplay, player playerToRemove )

Required Arguments

Example

textDisplay = textCreateDisplay ()
textDisplayAddObserver ( textDisplay, player )
textDisplayRemoveObserver ( textDisplay, player )
textItem = textCreateTextItem ( "Hello World", 0.5, 0.5, "low", 255, 0, 0, 0, 1.0 )
textDisplayAddText ( textDisplay, textItem )

See Also

Template:Text Functions