SA-MP Forums Archive
[HELP] playermarkers - 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: [HELP] playermarkers (/showthread.php?tid=132001)



[HELP] playermarkers - BurningSWA - 06.03.2010

ey
im working on a TDM and i wat that you can only see youre own teammates on the map.

how do i do this?


Re: [HELP] playermarkers - lameguy - 06.03.2010

Read that page from wiki: SetPlayerMarkerForPlayer


Re: [HELP] playermarkers - BurningSWA - 06.03.2010

that doesnt help me
i know how to work with ShowPlayerMarkerForPlayer

but what i tryd doesnt work


Re: [HELP] playermarkers - bajskorv123 - 06.03.2010

pawn Код:
for(new i=0; i < MAX_PLAYERS; i++)
{
  if(gTeam[i] == YOUR_TEAM)
  {
    SetPlayerMarkerForPlayer(playerid, showplayerid, color);
  }
  else if(gTeam[i] == OTHERR_TEAM)
  {
    SetPlayerMarkerForPlayer(playerid, showplayerid, color);
  }
}
playerid The player whose view you want to change
showplayerid The player whose color will be changed
color New color. Set the alpha part to 00 for an invisible blip. This works because 00 will set the transparency to nothing, which is invisible.


Re: [HELP] playermarkers - BurningSWA - 06.03.2010

thank,finaly something that helpes me