ShowPlayerMarkers
From SA-MP Wiki
Revision as of 10:49, 24 March 2010; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
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.
