Help with teamblips - 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)
+--- Thread: Help with teamblips (
/showthread.php?tid=579462)
Help with Mapblips -
NeamPojma - 27.06.2015
Hello guys i asked about team blips before but i have problem again.
It should make enemies invisible and it work.
I cant make Teammates will see eachother on map all is invisible ,also i want Team1 cant see Team2 name tag but my command dont work:
pawn Код:
for(new i = 0;i < MAX_PLAYERS;i++)
{
if(gTeam[playerid] == TEAM_RUS && gTeam[i] == TEAM_USA)
{
SetPlayerColor(playerid, 0xFF000000);
SetPlayerColor(i, 0x0000FF00);
ShowPlayerNameTagForPlayer(playerid,i,0);
}
if(gTeam[playerid] == TEAM_USA && gTeam[i] == TEAM_RUS)
{
SetPlayerColor(playerid, 0x0000FF00);
SetPlayerColor(i, 0xFF000000);
ShowPlayerNameTagForPlayer(playerid,i,0);
}
if(gTeam[playerid] == TEAM_USA && gTeam[i] == TEAM_USA)
{
//SetPlayerColor(playerid, 0x0000FF00);
//SetPlayerColor(i, 0x0000FF00);
SetPlayerMarkerForPlayer(playerid,i,0x0000FFFF);
}
if(gTeam[playerid] == TEAM_RUS && gTeam[i] == TEAM_RUS)
{
//SetPlayerColor(playerid, 0xFF000000);
//SetPlayerColor(i, 0xFF000000);
SetPlayerMarkerForPlayer(playerid,i,0xFF0000FF);
}
}
Re: Help with teamblips -
NeamPojma - 27.06.2015
Bump