Don't show Markers when people are in a Deathmatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Don't show Markers when people are in a Deathmatch (
/showthread.php?tid=116508)
Don't show Markers when people are in a Deathmatch -
Bearfist - 29.12.2009
Hi everyone. Iam trying to disable that the players in a Deatchmatch see each other on the radar
and after that Deathmatch, they see each other.
But I don't now how exactly.
Could someone help me ?
Re: Don't show Markers when people are in a Deathmatch -
[HiC]TheKiller - 29.12.2009
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
Re: Don't show Markers when people are in a Deathmatch -
Bearfist - 29.12.2009
I now that function but i am sure how to use that function
exactly to do that ...
Re: Don't show Markers when people are in a Deathmatch -
[HiC]TheKiller - 29.12.2009
Read down the bottom:
Quote:
pawn Код:
// 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 ); // 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 ) );
|
Re: Don't show Markers when people are in a Deathmatch -
Bearfist - 29.12.2009
Yeah I know that function ....
But I don't know how to disable when they are in an Deathmatch
and how to enable the markers when they aren't in an deathmatch
Re: Don't show Markers when people are in a Deathmatch -
Deat_Itself - 29.12.2009
Код:
ShowPlayerMarkers(1);
visible
Код:
ShowPlayerMarkers(0);
invisible