ShowPlayerMarkers
From SA-MP Wiki
A function that can be used in OnGameModeInit to enable or disable the players markers, which would normally be shown on the radar. If you want to change the marker settings at some other point in the gamemode, have a look at SetPlayerMarkerForPlayer which does exactly that.
(mode)
| mode | The mode you want to use |
| Returns | This function doesn't return a specific value |
public OnGameModeInit() { // Player markers only visible to near players ShowPlayerMarkers(2); }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerMarkerForPlayer: Set a player's marker.
- LimitPlayerMarkerRadius: Limit the player market radius.
- ShowNameTags: Set nametags on or off.
- SetPlayerColor: Set a player's color.
