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



sscanf - MerryDeer - 24.08.2016

Hi,

If i have variable which is not null like sscanf strings and use sscanf it still sscanf? or i have always create new variables ?


Re: sscanf - SickAttack - 24.08.2016

Sscanf puts the value which it parses into the specified variable(s). But it can also be used like "IsNumeric(const string[]) return !sscanf(string, "{d}");".

So answering to your question, even though it's a bit off or miswritten. No, you don't always have to create new variables.