ShowPlayerMarkers

From SA-MP Wiki

Jump to: navigation, search


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.


Parameters:
(mode)
modeThe mode you want to use


ReturnsThis 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.

Personal tools