what is this - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: what is this (
/showthread.php?tid=172283)
what is this -
iJumbo - 29.08.2010
pawn Код:
[18:18:54] sscanf warning: Unenclosed specifier parameters are deprecated, consider using something like p<|>.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.
in my server log ?!??!?!?!?! o.o
Re: what is this -
JaTochNietDan - 29.08.2010
Sounds like you're using something like "p,sss" in sscanf, but it is deprecated in the latest version, so you should use "p<,>sss".
The other one is that you're defining strings in sscanf without specifying a size I guess, which is again, a deprecated method in the latest version of sscanf. Check the sscanf topic for more information, I don't use the latest version of sscanf so I'm using the oldschool ways

. I assume you could fix it by using something like "p<,>s[18]s[24]s[128]", and so on.
Re: what is this -
iJumbo - 29.08.2010
ok im using sscanf2
and i have p|ssdddds
i put p<|>ssdddds
but i get
pawn Код:
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Format specifier does not match parameter count.
Re: what is this -
JaTochNietDan - 29.08.2010
Quote:
Originally Posted by gigi1223
ok im using sscanf2
and i have p|ssdddds
i put p<|>ssdddds
but i get
pawn Код:
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size. [18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size. [18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size. [18:24:26] sscanf warning: Format specifier does not match parameter count.
|
Try doing the other part of what I said also.
"p<|>ssdddds"
to
"p<|>s[128]s[128]dddds[128]", replacing the sizes with your own of course.