SA-MP Forums Archive
Discution - 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: Discution (/showthread.php?tid=381818)



Discution - Amine_Mejrhirrou - 30.09.2012

what this script is suposed to do
Код:
	if (GetPlayerTeam(playerid) == 30)
	{
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			SetPlayerMarkerForPlayer(playerid,i, GREEN1 );
		}
		return 1;
 	}
normy it set all player markers to Green for playerid right ?


Re: Discution - Kitten - 30.09.2012

It checks if the player is in team '30' then shows green on the radar to that player if he/she is in team 30.


Re : Discution - Amine_Mejrhirrou - 30.09.2012

shows what ?
Show to that player all the other playersmarker on the map in GREEN1 right ?


Re: Discution - XtremeR - 01.10.2012

it gets that if the Player's Team is 30, it will change the color of the player on the map for other players

https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

EDIT: Entire Team 30 will be that color..


Re : Discution - Amine_Mejrhirrou - 01.10.2012

ok thnks , now the problem is that this isn't working good but i'll find a solution thnks ++rep


Re : Discution - Amine_Mejrhirrou - 01.10.2012

what about this ?
Quote:

for(new i = 0; i < MAX_PLAYERS; i++)//detectttlesjoueurs
{
SetPlayerMarkerForPlayer(playerid,i, GREEN1 );
}

what i'm trying to do is
to make playerid can see all the others markers in green (and playerid will be transparent)