A little help
#6

Edit: NVM You already solved it xD

Where the player logs in, just put this code:
pawn Код:
new string[128], name;
    if(!IsAdmin){ //Check if Player is not Admin, could be set to !PlayerInfo[playerid][pAdmin] > 0
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s has logged in.", GetPlayerName(playerid));
    SendClientMessageToAll(COLOR_YELLOW, string); }
    else {
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "[Admin] %s has logged in.", GetPlayerName(playerid));
    SendClientMessageToAll(COLOR_YELLOW, string);}
Just adjust the color to what you want!
Reply


Messages In This Thread
A little help - by Excelize - 13.12.2013, 02:06
Re: A little help - by Ada32 - 13.12.2013, 02:11
Re: A little help - by Excelize - 13.12.2013, 02:15
Re: A little help - by Ada32 - 13.12.2013, 02:29
Re: A little help - by Excelize - 13.12.2013, 02:58
Re: A little help - by Deduction - 13.12.2013, 03:06

Forum Jump:


Users browsing this thread: 2 Guest(s)