SA-MP Forums Archive
Sscanf warning - 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: Sscanf warning (/showthread.php?tid=269184)



Sscanf warning - ColdIce - 15.07.2011

sscanf warning: String buffer overflow.

What does this mean?

Could this cause CPU high usage?


Re: Sscanf warning - JaTochNietDan - 15.07.2011

That means that you're using sscanf to store a string in an array which doesn't have enough cells to contain the string, you need to increase the amount of cells in your array accordingly


Re: Sscanf warning - ColdIce - 15.07.2011

Wow...can you please explain in english for dummies?


Re: Sscanf warning - DRIFT_HUNTER - 15.07.2011

He explained you in English...
Read whole first post so you can know how to use sscanf and trust m you will love it after it
https://sampforum.blast.hk/showthread.php?tid=120356

Here is a small help maybe you get me
pawn Код:
sscanf(string,"s[]",outputstring);