Posts: 42
Threads: 12
Joined: May 2009
Reputation:
0
This is my format
"#%d %s"
I need to take out the %d / integer..
sscanf(string, "'#'d{s[255]}", j);
Its what i did, but for some reason its doesn't work...
Can some one help me?
Posts: 42
Threads: 12
Joined: May 2009
Reputation:
0
I have this string for example:
#1 (23/10/2011 - 22:21:35) Blake Shelton - x
I need to take out the number 1 after the # to integer.
How to scan the string correctly?
I did "'#'d{s[255]}", but i get a warrning message to the server motd..
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
erm. are you using the plugin or the old include version?
your sscanf line is ok, the quiet variable {s[255]} looks good, too.
Posts: 42
Threads: 12
Joined: May 2009
Reputation:
0
I've updated the include and the plugin to R5 But steel i get this error, seems something wrong with the include...
Hope ****** would be able to help me.