Admin In chat
#5

Quote:
Originally Posted by MaximumGaming
Посмотреть сообщение
Here Is the admin chat system I use, If it works fell free to change the Admin Ranks! But Im not sure If it will!

REP+
i suggest using a stock for the admin ranks, such as:

pawn Код:
stock AdminRank(playerid)
{
    new string[32];
   
    switch(PlayerInfo[playerid][pAdmin])
    {
        case 1: // rank name
        case 2: // rank name
        // and so on...
    }
    return string;
}
and then

pawn Код:
format(string, sizeof(string), "%s %s: %s", AdminRank(playerid), PLAYERNAME, MESSAGE);
Reply


Messages In This Thread
Admin In chat - by [LHT]Bally - 20.03.2012, 00:08
AW: Admin In chat - by Blunt P - 20.03.2012, 00:19
Re: Admin In chat - by Skribblez - 20.03.2012, 00:26
Re: Admin In chat - by MaximumGaming - 20.03.2012, 04:15
Re: Admin In chat - by Skribblez - 20.03.2012, 04:36
Re: Admin In chat - by new121 - 20.03.2012, 04:44
Re: Admin In chat - by Haydz - 20.03.2012, 05:56

Forum Jump:


Users browsing this thread: 2 Guest(s)