Admin Only Tag Colour [Request]
#1

Hello bishs ;p
i need admin only tag colour lightblue for my server please anyone know how to make it
+rep 1 .........
Reply
#2

simple
pawn Код:
public OnPlayerText(playerid, text[])
{
    if (IsPlayerAdmin(playerid)) //replace with your own IsAdmin code
    {
        new strOut[128];
        format(strOut,128,"%s "/*color for admins text here*/":%s",ReturnPlayerName(playerid),text);
        SendClientMessageToAll(/*color for the admins name here*/,strOut);
        return 0;
    }
    return 1;
}
thats an example and ReturnPlayerName is a stock function to return the players name
find it in useful functions thread or many libs.
Reply
#3

THankx Brah (;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)