25.07.2017, 14:03
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Quick example:
I didn't test the code, but I hope you get the idea.
You can also use the foreach loop, whatever works for you
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Quick example:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerTeam(i) == GetPlayerTeam(playerid))
{
SetPlayerMarkerForPlayer(playerid, i, COLOR);
}
}
You can also use the foreach loop, whatever works for you