SetPlayerMarkerForPlayer Need help
#1

I'm working on a TDM mode. And I wanna make it so you can see your allies marker on the radar but not your enemies.

I know that I have to enable ShowPlayerMarkers and to make the markers invisible I gotta use SetPlayerMarkerForPlayer(i,playerid, ( GetPlayerColor( 1 ) & 0xFFFFFF00 ) );

But I'm having trouble putting a working script together. Anybody got a .pwn file that has what I am attempting to do? Or could someone some how help me with this problem?
Reply
#2

Do you check the teams? like
TEAM1[playerid] and TEAM2[playerid]?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)