[Ajuda]Esconder Nome do Player. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda]Esconder Nome do Player. (
/showthread.php?tid=250030)
[Ajuda]Esconder Nome do Player. -
Eriick_OwnZ - 21.04.2011
Olб Pessoal, Estou tendo problemas ao tentar esconder nome do jogador em cima dele Para um Game-Mode RP...
Agradeзo.
Re: [Dъvida]Esconder Nome do Player. -
Macintosh - 21.04.2011
pawn Код:
if(strcmp("/gpson",cmdtext, true) == 0)
{
SendClientMessage(playerid, COR,"Nick Escondido");
ShowPlayerMarkers(0);
return 1;
}
Re: [Dъvida]Esconder Nome do Player. - rjjj - 21.04.2011
Basta usar esta funзгo

:
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Veja um exemplo da pбgina acima

:
pawn Код:
if (strcmp("/nameoff", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
Espero ter ajudado

.
Re: [Dъvida]Esconder Nome do Player. -
Eriick_OwnZ - 21.04.2011
Obrigado