How to make AKA show up on Connect Message?
#7

I just found out that it works for some of the admins for some not (Most not)
Some info:
He was level 2
Got level 3 but could still see it
We others that was level 3, 8 and 10 couldn't see it

The code:

pawn Код:
//==============================================================================
// Connect Messages
//==============================================================================
    if(ServerInfo[ConnectMessages] == 1)
    {
        format(string,sizeof(string),"Player %s [ID:%d][Country:%s] has joined the server (Aka: %s)",PlayerName,playerid,GetPlayerCountryName(playerid),dini_Get("ladmin/config/aka.txt",tmp3));
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && playerid != i)
            {
                if(PlayerInfo[i][Level] >= 2 && PlayerInfo[i][Level] > 0)
                    SendClientMessage(i,grey,string);
                else
                {
                    format(string,sizeof(string),"* Player %s [ID:%d] has joined the server", PlayerName, playerid);
                    SendClientMessage(i,grey,string);
                }
            }
        }
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)