IP help [Solved]
#10

Quote:
Originally Posted by phillip875
Посмотреть сообщение
Actually, that varies (depends on what country your from).

Anyhow, if you are only doing it for one specific IP address:

pawn Код:
public OnPlayerConnect(playerid)
{
    new ip[16];
    GetPlayerIp(playerid,ip,sizeof(ip));
    if(strcmp(ip,"127.0.0.1",true))
    {
        GivePlayerMoney(playerid,1000);
    }
    return 1;
}
127.0.0.1 is just an example
I've got a better way for him to do it, just awaiting his reply.

Edit: If you change your mind, drop me a PM mate.
Reply


Messages In This Thread
IP help [Solved] - by CrazyChoco - 28.06.2012, 14:24
Re: IP help - by iGetty - 28.06.2012, 14:25
Re: IP help - by CrazyChoco - 28.06.2012, 14:30
Re: IP help - by iGetty - 28.06.2012, 14:31
Re: IP help - by CrazyChoco - 28.06.2012, 14:32
Re: IP help - by iGetty - 28.06.2012, 14:33
Re: IP help - by HuSs3n - 28.06.2012, 14:34
Re: IP help - by iGetty - 28.06.2012, 14:35
Re: IP help - by phillip875 - 28.06.2012, 14:36
Re: IP help - by iGetty - 28.06.2012, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)