The specifiers of sscanf2 - 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: The specifiers of sscanf2 (
/showthread.php?tid=574684)
The specifiers of sscanf2 -
Dutheil - 19.05.2015
Hi, small question : since the sscanf2 Wiki no longer exists, where can I find a complete list of specifiers ?
I am obviously talking about specifiers for every letters and uppercase taken into account.
Re: The specifiers of sscanf2 -
Dignity - 19.05.2015
Quote:
c - A character.
d, i - An integer.
h, x - A hex number (e.g. a colour).
f - A float.
s - A string.
z - An optional string.
pX - An additional delimiter where X is another character.
'' - Encloses a litteral string to locate.
u - User, takes a name, part of a name or an id and returns the id if they're connected.
|
Although deprecated according to the wiki, I recall most of these still working.
Re: The specifiers of sscanf2 -
Konstantinos - 19.05.2015
The thread was re-posted by Emmet_:
https://sampforum.blast.hk/showthread.php?tid=570927
There's a list of the specifiers and documentation/examples.
Re : The specifiers of sscanf2 -
Dutheil - 19.05.2015
Aw, thanks