Radar
#9

Quote:
Originally Posted by [GF]Sasino97
View Post
Yes, change
pawn Code:
if (VARIABLE[i] == true)
to
pawn Code:
if(GetPlayerTeam(i)) == X)
Ok, so if i do like this and put it on OnPlayerSpawn, you only see ur own team on the radar right?
pawn Code:
public OnPlayerConnect()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
       if(GetPlayerTeam(i)) == X) { SetPlayerMarkerForPlayer(playerid, i, 0xFFFF00FF); }
    }  
    return 1;
}
Edit: X give me error about define, and when i define i got much more errors
Reply


Messages In This Thread
Radar - by cruising - 29.06.2011, 18:19
Re: Radar - by Vince - 29.06.2011, 18:20
Re: Radar - by cruising - 29.06.2011, 18:24
Re: Radar - by Shadoww5 - 29.06.2011, 21:48
Re: Radar - by cruising - 30.06.2011, 07:39
Re: Radar - by Shadoww5 - 30.06.2011, 12:56
Re: Radar - by cruising - 30.06.2011, 15:00
Re: Radar - by Sasino97 - 30.06.2011, 15:52
Re: Radar - by cruising - 30.06.2011, 16:09
Re: Radar - by Shadoww5 - 30.06.2011, 23:53
Re: Radar - by Ricop522 - 01.07.2011, 00:31
Re: Radar - by cruising - 01.07.2011, 00:40
Re: Radar - by cruising - 01.07.2011, 00:42
Re: Radar - by PCheriyan007 - 01.07.2011, 00:52
Re: Radar - by BigETI - 01.07.2011, 05:35
Re: Radar - by cruising - 01.07.2011, 09:52
Re: Radar - by BigETI - 01.07.2011, 10:23
Re: Radar - by cruising - 01.07.2011, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)