Colour Help
#1

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
Reply
#2

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

And place these under the /duty command.
Reply
#3

Thank you
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)