Admin has joined the server
#7

If you want to do it ZeeX's way then here you go:

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
  if(success)
  {
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            {
                SetPlayerColor(i, 0xFFCC00AA);
                new name[24], string[64];
                GetPlayerName(i, name, 24);
                format(string, sizeof(string), "~r~Admin ~w~%s ~r~is in game!", name);
                GameTextForAll(string, 5000, 3);
                return 1;
            }
        }
  }
  return 1;
}
Reply


Messages In This Thread
Admin has joined the server - by Freddy_Manchez - 01.11.2009, 10:14
Re: Admin has joined the server - by woot - 01.11.2009, 10:21
Re: Admin has joined the server - by Zeex - 01.11.2009, 10:25
Re: Admin has joined the server - by Burridge - 01.11.2009, 10:29
Re: Admin has joined the server - by Freddy_Manchez - 01.11.2009, 10:43
Re: Admin has joined the server - by woot - 01.11.2009, 11:55
Re: Admin has joined the server - by radhakr - 01.11.2009, 13:12
Re: Admin has joined the server - by Freddy_Manchez - 01.11.2009, 15:22
Re: Admin has joined the server - by Burridge - 01.11.2009, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)