[Ajuda] strtok para sscanf - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] strtok para sscanf (
/showthread.php?tid=478106)
strtok para sscanf -
bombomloko - 27.11.2013
Alguйm sabe um tutorial ou qualquer coisa que ajude na conversгo?
Respuesta: strtok para sscanf -
DanDRT - 28.11.2013
em vez de usar:
pawn Код:
new tmp[128], idx;
tmp = strtok(cmdtext, idx);
vocк usa:
pawn Код:
new tmp;
if(sscanf(params, "d", tmp))
e strcmp + sscanf = gambiarra que se nгo souber usar vai dar um big mega fail
Re: strtok para sscanf -
Diogo123 - 28.11.2013
Vк esse tutorial estб em inglкs,basta traduzir ... https://sampforum.blast.hk/showthread.php?tid=176372