# SetMarkerText

## 简体 | 繁體

4,827个页面

Armed Assault

1.00

### 描述

Sets the text label of an existing marker.

### 基本句法

markerName setMarkerText text

markerName: String

text: String

Nothing

### 范例

`"Marker1" setMarkerText "You are here.";`

### 额外资讯

setMarkerText is global. All other setMarker commands seem to be Local.

setMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapesetMarkerSizesetMarkerTypesetMarkerAlpha

### 注意事项

Unknown
createMarker is GLOBAL in multiplayer, so all markers created with it exist for all clients. But they are not visible. Almost all setMarker commands can then be used for different effects on LOCAL clients.
BUT if you use the setMarkerText command, then the marker will become visible to all clients since the command is GLOBAL.