SA-MP Forums Archive
[Error] gl_common.inc(58) : error 017: undefined symbol "token_by_delim" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Error] gl_common.inc(58) : error 017: undefined symbol "token_by_delim" (/showthread.php?tid=132000)



[Error] gl_common.inc(58) : error 017: undefined symbol "token_by_delim" - cozza123456 - 06.03.2010

i get this error: gl_common.inc(5 : error 017: undefined symbol "token_by_delim"

i have an unedited version of gl_common.inc



Re: [Error] gl_common.inc(58) : error 017: undefined symbol "token_by_delim" - SlashPT - 06.03.2010

pawn Код:
stock token_by_delim(const string[], return_str[], delim, start_index)
{
    new x=0;
    while(string[start_index] != EOS && string[start_index] != delim) {
      return_str[x] = string[start_index];
      x++;
      start_index++;
    }
    return_str[x] = EOS;
    if(string[start_index] == EOS) start_index = (-1);
    return start_index;
}



Re: [Error] gl_common.inc(58) : error 017: undefined symbol "token_by_delim" - cozza123456 - 06.03.2010

Fixed it before sorry for not saying, thanks anyway.