#5

Well, i don't see what is so hard here.

Quote:

C:\Users\Luke\Desktop\SA-MP\gamemodes\area51.pwn(194) : error 017: undefined symbol "strtok"

It's normal that you'll get this error if you're using "strtok" function but you didn't added it to your script:

pawn Код:
strtok(const string[], &index, seperator=' ')
{
  new length = strlen(string);
  new offset = index;
  new result[128];
  while((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
  {
    result[index - offset] = string[index];
    index++;
  }
  result[index - offset] = EOS;
  if((index < length) && (string[index] == seperator))
  {
    index++;
  }
  return result;
}
Reply


Messages In This Thread
Help - by LukeGFX - 24.09.2009, 15:16
Re: Help - by Correlli - 24.09.2009, 15:19
Re: Help - by LukeGFX - 24.09.2009, 15:29
Re: Help - by MenaceX^ - 24.09.2009, 15:34
Re: Help - by Correlli - 24.09.2009, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)