ShowPlayerNameTagForPlayer - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ShowPlayerNameTagForPlayer (
/showthread.php?tid=156321)
ShowPlayerNameTagForPlayer -
Antonio [G-RP] - 22.06.2010
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(i, playerid, false);
This is part of the function for my mask system, yet it doesnt work O_o
Re: ShowPlayerNameTagForPlayer -
(SF)Noobanatior - 22.06.2010
other way around
Код:
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false); // to hide everyone
and
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true); // to show everyone
Re: ShowPlayerNameTagForPlayer -
gtapolicemods - 22.06.2010
or you could use
Код:
ShowPlayerNameTagForPlayer(i, playerid, 0);
works just fine in my server
Re: ShowPlayerNameTagForPlayer -
Antonio [G-RP] - 22.06.2010
I mean when player does /mask, I want it to disable showing their name.
Re: ShowPlayerNameTagForPlayer -
gtapolicemods - 22.06.2010
as i said above
Not showing name
Код:
ShowPlayerNameTagForPlayer(i, playerid, 0);
Show name
Код:
ShowPlayerNameTagForPlayer(i, playerid, 1);
Re: ShowPlayerNameTagForPlayer -
Antonio [G-RP] - 22.06.2010
Allright I'll give it a try
Re: ShowPlayerNameTagForPlayer -
Hiddos - 22.06.2010
Wiki:
Quote:
Parameters:
ShowPlayerNameTagForPlayer(playerid, showplayerid, show)
|
par 1 (playerid): The playerid is show/hide his name tag for showplayerid.
par 2 (showID): The id to have visual effect on.
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid,i,0);
}
Re: ShowPlayerNameTagForPlayer -
[666] - 25.10.2010
Quote:
Originally Posted by Hiddos
Wiki:
par 1 (playerid): The playerid is show/hide his name tag for showplayerid.
par 2 (showID): The id to have visual effect on.
pawn Код:
for(new i; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid,i,0); }
|
Thanks for this Hiddos