28.05.2009, 14:57
Well the thing I'm not sure about is whether
sets it so that even if you use SetPlayerMarkerForPlayer then you can't change their marker...
If this is the case then you can do this instead:
Код:
ShowPlayerMarkers(0);
If this is the case then you can do this instead:
Код:
public OnPlayerConnect(playerid) { new name[20]; GetPlayerName(playerid, name, sizeof(name)); if(strcmp(name, "the name of the helper", true) != 0) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) { SetPlayerMarkerForPlayer(i, playerid, (GetPlayerColor(playerid) & 0xFFFFFF00 )); //this will remove the player's marker. } } } else { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) { SetPlayerMarkerForPlayer(i, playerid, pick a colour for your helper); } } } return 1; }