Changing colors
#1

Hello. im just wondering When a cop does /suspect.

the suspcet's name turns yellow. How can i remove that?
and when he logs back on he is still Yellow.
Reply
#2

try and find SetPlayerColor in the /suspect cmd and remove it,
Reply
#3

No luck in the Setplayercolor

but i found this SetPlayerCriminalEx(giveplayerid,playerid, result);
Reply
#4

can you please give the function for that.
Reply
#5

SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/su)spect [playerid/PartOfName] [crime text]");
return 1;
}
if(IsACop(giveplayerid))
{
if(PlayerInfo[playerid][pRank] >= 6)
{
if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 6; }
else { WantedPoints[giveplayerid]+= 2; }
SetPlayerCriminalEx(giveplayerid,playerid, result)
Reply
#6

No i mean the code for SetPlayerCriminalEx, cause obv that is not a regular function.
Reply
#7

Nevermind! I found setplaycolor and deleted it. tested it and it worked thanks!!!
Reply
#8

like this ? http://pastebin.com/yXLN1GK3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)