How to make a player RED on map ? - 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)
+--- Thread: How to make a player RED on map ? (
/showthread.php?tid=457134)
How to make a player RED on map ? -
Kapone21 - 09.08.2013
I want to make A BODYGUARD system for this i need:
-To make the person you protect RED on map (checkpoint)

how can i do this ?
setplayercheckpoint(protectedperson or how?
Re: How to make a player RED on map ? -
SsHady - 09.08.2013
Simply change his name color using
SetPlayerColor
Re: How to make a player RED on map ? -
sanya_gnoy - 09.08.2013
try
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
if you use SetPlayerColor, then the red marker player will be visible to all. because you need to get a red gamertag saw only one person?
Re: How to make a player RED on map ? -
JimmyCh - 09.08.2013
It's pretty simple, if you created like: protectedperson in the CMD for the bodyguard, you will just
pawn Код:
SetPlayerMarkerForPlayer(playerid, protectedperson, COLOR_RED);
Make sure you define COLOR_RED of course.