SetPlayerMarkerForPlayer problem
#1

Hey guys, I'm creating a script which makes you see your teammates on the radar and it doesn't seem to work.

The code runs through but nothing happens:

pawn Код:
SetPlayerMarkerForPlayer(playerid, i, COLOR_RED);
SendClientMessage(playerid,-1,"Color Red"); // This was just a debug ,,feature" so I know the script ran just fine
It works when I add ShowPlayerMarkers when the gamemode starts, but in that case it shows everyone and only changes the color of the team members, so the script above works for sure but it also shows everyone else.

Can anyone help me? I only want to see the people I choose ( my teammates ) and not everyone.

Thanks in advance!
Reply


Messages In This Thread
SetPlayerMarkerForPlayer problem - by DRCharlie - 24.11.2014, 18:23
Re: SetPlayerMarkerForPlayer problem - by Misiur - 24.11.2014, 19:48
Re: SetPlayerMarkerForPlayer problem - by DRCharlie - 24.11.2014, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)