#4

pawn Код:
new x_nr[256];
                    x_nr = strtok(cmdtext, idx); // 17370
                    if(!strlen(x_nr))
                    {
                        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givenote [playerid/PartOfName] [note id]");
                        return 1;
                    }
pawn Код:
new x_nr[256];
            x_nr = strtok(cmdtext, idx); // 17890
            if(!strlen(x_nr))
            {
                SendClientMessage(playerid, CRISTIAN,"_______________________________________");
pawn Код:
new ammocharge;
            mod = 100; // 20681
            new location = PlayerInfo[playerid][pLocal];
            if(location == 99 || location == 100 || location == 102)
pawn Код:
stock strtok(const string[], &index)  // 49039
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[256];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result; // 49054
}
try this


edit: slow lol
Reply


Messages In This Thread
Help - by Crystyan12 - 20.04.2011, 14:29
Re: Help - by Sasino97 - 20.04.2011, 14:32
Re: Help - by Stigg - 20.04.2011, 14:34
Re: Help - by Sascha - 20.04.2011, 14:35
Re: Help - by Crystyan12 - 20.04.2011, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)