2 questions?
#1

1-) Is SetPlayerTeam(playerid,0); enable anti team-kill
2-) How can I hide player map icons
Reply
#2

Quote:
Originally Posted by ByFukara
2-) How can I hide player map icons
pawn Код:
ShowPlayerMarkers(false);
Reply
#3

1)Yes
2)You can use SetPlayerMarkerForPlayer function.

Make player 42 see player 1 as a red marker
Код:
SetPlayerMarkerForPlayer( 42,1,0xFF0000FF );
Make the players marker an invisible white (chat will be white but marker will be gone).
Код:
SetPlayerMarkerForPlayer( 42, 1, 0xFFFFFF00 );
Transparent color:
Код:
0xFFFFFF00
Make the players marker invisible to the player while keeping chat colour the same. Will only work correctly if SetPlayerColor has been used:
Код:
SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) & 0xFFFFFF00 ) );
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)