SA-MP Forums Archive
It is possible ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: It is possible ? (/showthread.php?tid=472944)



It is possible ? - FailerZ - 31.10.2013

Sloved


Re: It is possible ? - Jefff - 31.10.2013

https://sampwiki.blast.hk/wiki/OnRconLoginAttempt


Re: It is possible ? - Djole1337 - 31.10.2013

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if (success)
    {
        new
            PlayerIP[16];
        for (new iPlayer = 0; iPlayer != MAX_PLAYERS; ++ iPlayer)
        {
            GetPlayerIp(iPlayer, PlayerIP, sizeof (PlayerIP));
           
            if (!strcmp(ip, PlayerIP))
            {
                SendClientMessage(iPlayer, -1, "Hello welcome...");
                break;
            }
        }
    }
    return true;
}



Re: It is possible ? - FailerZ - 31.10.2013

Removed.


Re: It is possible ? - FailerZ - 31.10.2013

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if (success)
    {
        new
            PlayerIP[16];
        for (new iPlayer = 0; iPlayer != MAX_PLAYERS; ++ iPlayer)
        {
            GetPlayerIp(iPlayer, PlayerIP, sizeof (PlayerIP));
           
            if (!strcmp(ip, PlayerIP))
            {
                SendClientMessage(iPlayer, -1, "Hello welcome...");
                break;
            }
        }
    }
    return true;
}
I used this, Thank you Djole1337, +rep