25.09.2013, 21:47
Heyho, how can i make that you can't see from a player the marker on the minimap, give me a example please because on the wiki it says that the color turn white but i just want that it go invisible.
color New color. Set the alpha to 00 for an invisible blip. |
SetPlayerMarkerForPlayer( PLAYERID, 0, 00 );
ShowPlayerMarkers(0);
CMD:nickoff(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00); // the alpha of 00 hides the marker
ShowPlayerNameTagForPlayer(playerid, i, false);
}
return 1;
}
CMD:nickon(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFFFF); // white colour, change it to what you want to set it back to normal
ShowPlayerNameTagForPlayer(playerid, i, true);
}
return 1;
}
public OnGameModeInit()
{
ShowPlayerMarkers(0);
return 1;
}
You dont want anyone to see markers on the map?
Incase, use ShowPlayerMarkers Код:
ShowPlayerMarkers(0); |
Diese Beitrдge von dir wurden bewertet Thema Datum Kommentar SetPlayerMarkerForPlayer 09/26/13 11:29:35 Trying to help, FU