Posts: 227
Threads: 37
Joined: Sep 2013
SetNameTagDrawDistance(

;
LimitPlayerMarkerRadius(

;
^^ is it possiable to do this only for certain player?
if you help, you will get rep+
Posts: 227
Threads: 37
Joined: Sep 2013
Posts: 810
Threads: 17
Joined: Aug 2013
Reputation:
0
Could you explain what you mean please ? you want to make it for one player ? or the player you choose ?
Posts: 227
Threads: 37
Joined: Sep 2013
well, yes, one player, im making dm and i want it only for the ones who joins dm.
Posts: 227
Threads: 37
Joined: Sep 2013
ok, thanks guys, even though this was not what i was looking for, but now i will use.
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
}
still, rep+ for all that tried to help
Posts: 227
Threads: 37
Joined: Sep 2013
Quote:
Originally Posted by pds2k12
I think it's not impossible, I've create this function in about 5 minutes, I am not sure if this is what you want, you could loop all the players who's inside the dm and they're connected, it would show the name tag.
pawn Код:
#if defined MAX_PLAYERS #undef MAX_PLAYERS #define MAX_PLAYERS 100 //if MAX_PLAYERS is more than 255, you should remove the 'char' #endif
new bool: IsPlayerInDM [ MAX_PLAYERS char ] ;
main() { new playerid = 0; ShowDMNameTag(playerid, true); }
stock ShowDMNameTag(playerid, bool:on = true) { new i = 0 ; while(i < MAX_PLAYERS && IsPlayerConnected(i) && IsPlayerInDM[i] == true) { if(on == true) { ShowPlayerNameTagForPlayer(playerid, i, true); } else if(on == false) { ShowPlayerNameTagForPlayer(playerid, i, false); } i++; } }
|
Lol, bro, i don't expect you to write the whole code, lol, but thanks, to bad i already gave you rep+ a time ago. :X