SA-MP Forums Archive
two sscanf. - 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: two sscanf. (/showthread.php?tid=462717)



two sscanf. - audriuxxx - 08.09.2013

Hi,

Can i do two sscanf in one time? i mean in mysql loading:

Код:
sscanf(savingstring,"p<|>ddd",BLABLA,BLA,BLABLA);
sscanf(savingstring,"p<|>s[50]s[25]",TTSD,ASDASDT,ASDASD);



Re: two sscanf. - Misiur - 08.09.2013

You want to split lines because they get too long? Use quiet parameters

pawn Код:
sscanf(savingstring,"p<|>ddd",BLABLA,BLA,BLABLA);
sscanf(savingstring,"p<|>{ddd}s[50]s[25]",TTSD,ASDASDT,ASDASD);