How need hide player name, and map icon - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How need hide player name, and map icon (
/showthread.php?tid=630142)
How need hide player name, and map icon -
Pokemon64 - 09.03.2017
Hi.
How should i hide player name and icon from map? Just make him invisible?
Re: How need hide player name, and map icon -
ISmokezU - 09.03.2017
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;
}
Re: How need hide player name, and map icon -
Pokemon64 - 09.03.2017
Quote:
Originally Posted by ISmokezU
|
Appreciate
Re: How need hide player name, and map icon -
Pokemon64 - 09.03.2017
P.S Will it hide and health, armor bar from the top of names?
Re: How need hide player name, and map icon -
ISmokezU - 09.03.2017
Nope.
Re: How need hide player name, and map icon -
Pokemon64 - 09.03.2017
I thinking about this, would it hide?
Код:
ShowPlayerNameTagForPlayer(playerid, i, true);
Re: How need hide player name, and map icon -
ISmokezU - 09.03.2017
Код:
SetPlayerMarkerForPlayer(playerid, showplayerid, color)
That's the color parameter so no. Only alpha values.
Re: How need hide player name, and map icon -
oSAINTo - 10.03.2017
Quote:
Originally Posted by Pokemon64
I thinking about this, would it hide?
Код:
ShowPlayerNameTagForPlayer(playerid, i, true);
|
Change true to false and that should work to get rid of the nametag and health and armor.
Re: How need hide player name, and map icon -
Pokemon64 - 10.03.2017
Quote:
Originally Posted by oSAINTo
Change true to false and that should work to get rid of the nametag and health and armor.
|
Yea i did it already