Pawno problem with "strtok" - 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)
+--- Thread: Pawno problem with "strtok" (
/showthread.php?tid=447223)
Pawno problem with "strtok" -
Yordan_Kronos - 29.06.2013
When i complite and
pawn Код:
error 021: symbol already defined: "strtok"
error 047: array sizes do not match, or destination array is too small
pawn Код:
strtok(const string[], &index)
{
new length = strlen(string);
pawn Код:
result[index - offset] = EOS;
return result;
}
Please help me, when i delete strtok and my pawno crash..
Re: Pawno problem with "strtok" -
KingHual - 29.06.2013
Oh, for crying out loud, use sscanf instead of strtok.
Re: Pawno problem with "strtok" -
Yordan_Kronos - 29.06.2013
Thanks братле