09.03.2017, 21:05
Hi.
How should i hide player name and icon from map? Just make him invisible?
How should i hide player name and icon from map? Just make him invisible?
CMD:hideme( playerid ) { foreach(new i: Player) { SetPlayerMarkerForPlayer( i, playerid, 0xFFFFF00 ); SendClientMessage(playerid, -1, "You've Been Hidden."); } return 1; }
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
https://sampwiki.blast.hk/wiki/SetPlayerColor Код:
CMD:hideme( playerid ) { foreach(new i: Player) { SetPlayerMarkerForPlayer( i, playerid, 0xFFFFF00 ); SendClientMessage(playerid, -1, "You've Been Hidden."); } return 1; } |
ShowPlayerNameTagForPlayer(playerid, i, true);
SetPlayerMarkerForPlayer(playerid, showplayerid, color)