IP comand?
#4

pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Where i put this part?

And i also eliminated if(isplayeradmin), because i want this comando for all ppl lol, by rcon i have /rcon players
Reply


Messages In This Thread
IP comand? - by jonybomb - 26.07.2009, 18:08
Re: IP comand? - by refshal - 26.07.2009, 18:39
Re: IP comand? - by James_Alex - 26.07.2009, 18:52
Re: IP comand? - by jonybomb - 26.07.2009, 19:06
Re: IP comand? - by MadeMan - 26.07.2009, 19:15
Re: IP comand? - by jonybomb - 26.07.2009, 19:23
Re: IP comand? - by refshal - 26.07.2009, 19:50
Re: IP comand? - by jonybomb - 26.07.2009, 19:52
Re: IP comand? - by jonybomb - 26.07.2009, 20:17
Re: IP comand? - by Jefff - 26.07.2009, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)