HELP PLEASE
#9

Can u show me an example please?

I have this:

pawn Код:
if(success == 1) //If the password was correct
    {
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
        {
            if (!IsPlayerConnected(i)) continue;   // Skip if the player isnt connected
            GetPlayerIp(i, pip, 16);
            if (strcmp(pip, ip)) continue;   // Skip if the IP of player i is not the rcon IP
            GetPlayerName(i, playername, MAX_PLAYER_NAME);
            format(string, sizeof(string), "* %s has logged in rcon.", playername);
            SendClientMessageToAll(COLOR_ORANGE, string);
        }
    }
    return 1;
}
Reply


Messages In This Thread
HELP PLEASE - by RatHack - 26.07.2011, 09:25
Re: HELP PLEASE - by linuxthefish - 26.07.2011, 09:51
Respuesta: HELP PLEASE - by RatHack - 26.07.2011, 09:58
AW: HELP PLEASE - by Forbidden - 26.07.2011, 09:58
Respuesta: HELP PLEASE - by RatHack - 26.07.2011, 10:01
Re: HELP PLEASE - by Mean - 26.07.2011, 10:49
Respuesta: HELP PLEASE - by RatHack - 26.07.2011, 12:46
Re: HELP PLEASE - by linuxthefish - 26.07.2011, 12:49
Respuesta: HELP PLEASE - by RatHack - 26.07.2011, 12:51
Re: HELP PLEASE - by linuxthefish - 26.07.2011, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)