[HELP]Scripting...
#3

Upgrade your Server/Client to SA-MP 0.3d
For the second error add the strtok at the bottom of your script.
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;
}
Reply


Messages In This Thread
[HELP]Scripting... - by adamic2020 - 05.02.2012, 14:03
Re: [HELP]Scripting... - by milanosie - 05.02.2012, 14:06
Re: [HELP]Scripting... - by Konstantinos - 05.02.2012, 15:16
Re: [HELP]Scripting... - by adamic2020 - 05.02.2012, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)