SA-MP Forums Archive
Hide Name Tag - 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: Hide Name Tag (/showthread.php?tid=451748)



Hide Name Tag - Blackazur - 18.07.2013

Hello, how can i hide an name tag? I know with ShowPlayerNameTagForPlayer, but what is the code for it?


Re: Hide Name Tag - SsHady - 18.07.2013

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;
}
source:wiki


AW: Hide Name Tag - Blackazur - 18.07.2013

"//The player who typed /nameoff will not be able to see any other players nametag."

I dont think this is that what i want.


Re: Hide Name Tag - Twizted - 18.07.2013

-- Guess I was a bit too late.

Can you please explain more?


AW: Hide Name Tag - Blackazur - 18.07.2013

Also, i want that a player is invisible for other players, so that other players dont see his name tag, color, healthbar etc.


AW: Hide Name Tag - Blackazur - 18.07.2013

can you help me?


Re: Hide Name Tag - faff - 18.07.2013

Dont doublepost. And it's what you want It's what you discribed.


AW: Hide Name Tag - Blackazur - 18.07.2013

This isnt what i want, i want that this player is for other players invisible not that the player see other players invisible, think before you post..