TPlayers.WorldText

From Soldat Community Wiki
Jump to: navigation, search
procedure WorldText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale, X, Y: Single) 
 Layer: layer on which to draw
 Text: message to be displayed
 Delay: how long the message will be visible (in ticks)
 Color: color of the text
 Scale: how big the font will be
 X: X coordinate on the map
 Y: Y oordinate on the map

Description

Draws a text on x:y coordinates on map (not soldat window) for all players.

Note: If you use WorldText again with the same layer, old one will get overwritten