STRTOK > SSCANF2 - 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: STRTOK > SSCANF2 (
/showthread.php?tid=466285)
STRTOK > SSCANF2 -
UnknownGamer - 27.09.2013
pawn Код:
new idx;
tmp = strtok(text, idx);
if ((strcmp("next", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("next")))
What would that become in SSCANF2 format? rather than strtok...
Re: STRTOK > SSCANF2 -
Voxel - 27.09.2013
use this:
https://sampforum.blast.hk/showthread.php?tid=280282
Re: STRTOK > SSCANF2 -
UnknownGamer - 27.09.2013
Quote:
Originally Posted by Voxel
|
Thanks dude! +REP!
That's ALL of STRTOK/STRCMP commands removed from Ravens, and converted to ZCMD&SSCANF2.

!
Re: STRTOK > SSCANF2 -
Voxel - 27.09.2013
Nice

! glad i could help!