Change Color on Wanted
#1

Hello everybody, I wanted to know if I can make it depending on players wanted level they change color to like RED but in my server they already have name colors on different classes.So what I need is depending on wanted their name changes to a certain color and when they die and respawn it keeps the color depending on wanted.I just don't know how it will work because my script spawns with colored names.
Thanks For trying to help Guys
Reply
#2

pawn Код:
SetPlayerColor(playerid, COLOR_WHITE);

if(GetPlayerWantedLevel(playerid) == 1)
{
SetPlayerColor(playerid, COLOR_YELLOW);
}

if(GetPlayerWantedLevel(playerid) == 4)
{
SetPlayerColor(playerid, COLOR_ORANGE);
}
You get the idea..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)