03.09.2011, 03:29
Hi guys, I need help 
how can I chance strtok for sscanf?
EDIT: I was reading this web page: https://sampwiki.blast.hk/wiki/File_Functions
but I know that sscanf is more fast that strtok, so I need help to change.
thx

how can I chance strtok for sscanf?
Код:
GetVal(numb, str[]) { new tmp[256], idx; for(new i=0; i<numb; i++) { tmp=strtok(str, idx); } return strval(tmp); }
but I know that sscanf is more fast that strtok, so I need help to change.
thx