24.04.2012, 23:37
Queria saber como eu fasso para retirar o ponto no mapa que indica onde o player esta
+rep
+rep
public OnGameModeInit()
{
// Player markers only visible to near players
ShowPlayerMarkers(2);
}
ShowPlayerMarkers(0);
PLAYER_MARKERS_MODE_OFF (0) PLAYER_MARKERS_MODE_GLOBAL (1) PLAYER_MARKERS_MODE_STREAMED (2)
CMD:rf(playerid, params[])
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer(i, playerid, COR_VERDE);
SetPlayerMarkerForPlayer(i, playerid, COR_VERDE);
}
}
return 1;
}
CMD:crf(playerid, params[])
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00);
}
}
return 1;
}