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

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
So only admin level 2 can see it? Then use

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);
                }
            }
        }
    }
Nope didn't work.

It seems to work some times and then it just stops working, now he cant see the connect messages anymore again.
I dont think it has something to do with the level..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)