STRTOK > SSCANF2
#1

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...
Reply
#2

use this:

https://sampforum.blast.hk/showthread.php?tid=280282
Reply
#3

Quote:
Originally Posted by Voxel
Посмотреть сообщение
Thanks dude! +REP!

That's ALL of STRTOK/STRCMP commands removed from Ravens, and converted to ZCMD&SSCANF2. !
Reply
#4

Nice ! glad i could help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)