IP help [Solved]
#2

Well, you could use it for names?

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[24];
    if(strmatch(name, "CrazyChoco"))
    {
        GivePlayerMoney(playerid, 1000);
    }
    return 1;
}

stock strmatch(const String1[], const String2[])
{
    if ((strcmp(String1, String2, true, strlen(String2)) == 0) && (strlen(String2) == strlen(String1)))
    {
        return true;
    }
    else
    {
        return false;
    }
}
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)