SA-MP Forums Archive
Colour Help - 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: Colour Help (/showthread.php?tid=78738)



Colour Help - killer__577 - 22.05.2009

I would like to know how to make a cops have blue name and ID when on /duty, but not to mark them on the mini map


Re: Colour Help - member - 22.05.2009

use
SetPlayerMarkerForPlayer : https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
and
SetPlayerColor: https://sampwiki.blast.hk/wiki/SetPlayerColor

And place these under the /duty command.


Re: Colour Help - killer__577 - 22.05.2009

Thank you


Re: Colour Help - .::: Ecko :::. - 22.05.2009

Like I understand it:

if(strcmp(cmdtext, "/duty", true) == 0)
{
//make here that cop thingy like u made it at your script!
/*SetPlayerSkin(playerid, ID);*/ meybe it's not necessary for you..
SetPlayerColor(playerid, 0x0000FFAA);//Blue color for cop!
ShowNameTags(0);//you wount see him on the map! oh or like hustler said.. SetPlayerMarkerForPlayer
return 1;
}

something like this..

Ecko