SA-MP Forums Archive
ShowPlayerNameTagForPlayer +REP - 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: ShowPlayerNameTagForPlayer +REP (/showthread.php?tid=551724)



ShowPlayerNameTagForPlayer +REP - StreetRP - 20.12.2014

Hello i have a problem with "ShowPlayerNameTagForPlayer" when player hide is name ,it working
but when he change interior ..He name appears

Thks for help


Re: ShowPlayerNameTagForPlayer +REP - Clad - 20.12.2014

new interiorID = GetPlayerInterior(playerid);
pawn Код:
if(interiorID == 1)
    {
        for(new i = 0;i <= MAX_PLAYERS;i++)
        {
            ShowPlayerNameTagForPlayer(playerid,i, 1);
        }
        return 1;
    }
Try this.


Re : Re: ShowPlayerNameTagForPlayer +REP - StreetRP - 20.12.2014

Quote:
Originally Posted by Clad
Посмотреть сообщение
new interiorID = GetPlayerInterior(playerid);
pawn Код:
if(interiorID == 1)
    {
        for(new i = 0;i <= MAX_PLAYERS;i++)
        {
            ShowPlayerNameTagForPlayer(playerid,i, 1);
        }
        return 1;
    }
Try this.
But i have to do this for all interior ?


Re: ShowPlayerNameTagForPlayer +REP - rickisme - 20.12.2014

https://sampwiki.blast.hk/wiki/OnPlayerInteriorChange