What have I done wrong? [sscanf2]
#1

Hey everyone!

I am a newbie scripter and started making a gamemode from scratch yesterday. I have made some commands et cetera and suddenly I found out that I used sscanf and not sscanf2 since someone mentioned it. I just changed to sscanf2 and nothing wrong happened, no warnings or errors in the pawno compiler so I thought everything was okey.

Suddenly I saw on the sa-mp.exe that it said

Quote:

[12:29:50] sscanf warning: 'z' is deprecated, consider using 'S' instead.
[12:29:50] sscanf warning: No default value found.
[12:29:50] sscanf warning: Strings without a length are deprecated, please add a destination size.
[12:52:51] sscanf warning: 'z' is deprecated, consider using 'S' instead.
[12:52:51] sscanf warning: No default value found.
[12:52:51] sscanf warning: Strings without a length are deprecated, please add a destination size.
[12:53:45] sscanf warning: 'z' is deprecated, consider using 'S' instead.
[12:53:45] sscanf warning: No default value found.
[12:53:45] sscanf warning: Strings without a length are deprecated, please add a destination size.

I think I fixed "sscanf warning: 'z' is deprecated, consider using 'S' instead." since I used(CTRL+F) and searched for sscanf and then edited the z to s instead e.g uz to us.

By the way do I have to edit the sscanf text on the commands to sscanf2? Anyone who knows how to solve this problem?

Seems like the S problem is fixed, but I have still got the "sscanf warning: Strings without a length are deprecated, please add a destination size" error
Reply


Messages In This Thread
What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:20
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:36
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:40
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:41
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:43
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:46
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:50
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:53

Forum Jump:


Users browsing this thread: 5 Guest(s)