11.04.2017, 11:11
Try this
PHP код:
CMD:togmarks(playerid, params[]){
markers = 0;
for(new i = 0; i<=MAX_PLAYERS;i++)
{
new PlayerColor = GetPlayerColor(playerid);
if(PlayerColor[i] == 0xFFFFFF00 && markers = 1)
{
SetPlayerColor(i, ServerColors[random(20)]);
}
else if(PlayerColor[i] != 0xFFFFFF00){
SetPlayerColor(i,PlayerColor);
}
markers = 1;
}
//FOR END HERE//
SendClientMessage(playerid, 0x33AA33AA,"Poof! you can see em' all!!");
return 1;
}