TextDisplayRemoveObserver
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 display, player playerToRemove )
Required Arguments
- display: The textdisplay to remove the player from as an observer.
- playerToRemove: The player that should be removed from the textdisplay.
Example
display = textCreateDisplay ( ) textDisplayAddObserver ( display, thePlayer ) textDisplayRemoveObserver ( display, thePlayer ) newtextitem = textCreateTextItem ( "Hello World", 0.5, 0.5, "low", 255, 0, 0, 0, 1.0 ) textDisplayAddText ( display, newtextitem )
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText