Need little help. +Rep to helper.
#5

https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
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);
      }
}
I didn't test the code, but I hope you get the idea.

You can also use the foreach loop, whatever works for you
Reply


Messages In This Thread
Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:39
Re: Need little help. +Rep to helper. - by DonaldDuck - 25.07.2017, 13:47
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:52
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:58
Re: Need little help. +Rep to helper. - by TonyII - 25.07.2017, 14:03
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 14:12
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 21:09
Re: Need little help. +Rep to helper. - by Xeon™ - 25.07.2017, 21:31
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 21:51
Re: Need little help. +Rep to helper. - by Vince - 25.07.2017, 22:10

Forum Jump:


Users browsing this thread: 2 Guest(s)