The specifiers of sscanf2
#1

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.
Reply
#2

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.
Reply
#3

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.
Reply
#4

Aw, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)