11.04.2017, 14:37
PHP код:
CMD:togmarks(playerid, params[]){
markers = 0;
for(new i = 0; i<=MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i)) continue;
new PlayerColor = GetPlayerColor(i);
if(PlayerColor == 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;
}