[HELP]Error code
#2

You must define "strtok".

Read here to fix it:
https://sampwiki.blast.hk/wiki/Strtok

To fix it put that under your script:

Quote:

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]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:22
Re: [HELP]Error code - by Flashy - 08.06.2010, 15:26
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:27
Re: [HELP]Error code - by Flashy - 08.06.2010, 15:30
Re: [HELP]Error code - by RyDeR` - 08.06.2010, 15:32
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:33
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:34
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 16:11
Re: [HELP]Error code - by Hiddos - 08.06.2010, 16:15
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)