sscanf problem - 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)
+--- Thread: sscanf problem (
/showthread.php?tid=617658)
sscanf problem -
Hunud - 24.09.2016
What is problem if i got this
sscanf warning: Strings without a length are deprecated, please add a destination size.
How to fix that ? +REP if helped
Re: sscanf problem -
SickAttack - 24.09.2016
sscanf(something, "s[128]", something);
You need to add [value] to the format field on every "s", which represents strings. Value is length (e.g. [128] - s[128])
Re: sscanf problem -
Hunud - 24.09.2016
Quote:
Originally Posted by SickAttack
sscanf(something, "s[128]", something);
You need to add [value] to the format field on every "s", which represents strings. Value is length (e.g. [128] - s[128])
|
Oh thank you fixed
NOTICE: its say i must spred reputation around i promise i will tommorrow PM you that i gived you reputation
Thanks