[HELP] Problem with SetPlayerMarkerForPlayer
#1

My goal in this script is to make a Player X (From Team1) Can See All the otheres players Y
so i've make a timer at the top of the GameMod
Код:
inf2(playerid);
new inf[MAX_PLAYERS];
then , when the player Spawn
Код:
inf[playerid] = SetTimerEx("inf2", 5000, true, "i", playerid);
and finaly
Код:
public inf2(playerid)
{
	if(team[playerid] == 2)
	{
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			SetPlayerMarkerForPlayer(playerid, i, RED );
		}
	return 1;
	}
but looks like this code is not working , the player can't see the otheres on the map
Any sugestion to fix that or any one have an idea where the problem came from ?
Reply


Messages In This Thread
[HELP] Problem with SetPlayerMarkerForPlayer - by Amine_Mejrhirrou - 29.09.2012, 13:37
Re: [HELP] Problem with SetPlayerMarkerForPlayer - by Shinki - 29.09.2012, 18:07
Re : [HELP] Problem with SetPlayerMarkerForPlayer - by Amine_Mejrhirrou - 29.09.2012, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)