[Help] Color in ScoreBoard
#1

Hi guys, i post again because i need something. I am looking for a script. Now many people will say " What you are looking for ?!" Here we go. I need when a Cop on my roleplay take his services his name become blue on the ScoreBoard. If someone can send me the script of this i will give him +rep
Reply
#2

I can help you with this, what's your skype?
Reply
#3

Well, make a function which checks if the player has toggled his service on for example i will define it as
pawn Код:
new CopService[MAX_PLAYERS];
And maybe script a code which toggles players service to on for example
pawn Код:
CMD:duty(playerid, params[])
{
   if(!CopService[playerid])
   {
       SetPlayerColor(playerid, examplecolor); // type your desired color.
       return 1;
   }
   else
   {
       SetPlayerColor(playerid, 0xFFFFFFFF); // sets player color back to white
       return 1;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)