28.07.2013, 11:20
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
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
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. |
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