SA-MP Forums Archive
Help with player name - 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: Help with player name (/showthread.php?tid=445026)



Help with player name - CloW - 19.06.2013

How to remove player name(only name not health and armor) ?


Re: Help with player name - dEcooR - 19.06.2013

what do you mean ? remove player name?


Re: Help with player name - CloW - 19.06.2013

yes,only name


Re: Help with player name - PrinceKumar - 19.06.2013

pawn Код:
public OnGameModeInit()
{
    ShowNameTags(0);
    return 1;
}
Use it if it doesn't help then pm me


Re: Help with player name - IceBilizard - 19.06.2013

Here is an example
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;
}



Re: Help with player name - MP2 - 19.06.2013

You can't toggle individual parts of the nametags. You either have them on or off. You can make custom health/armour (and names) with attached 3D labels though.