sscanf warning: Strings without a length are deprecated, please add a destination size.
#3

in the sscanf function, if you are using a string, you have to declare it's value / length next to it's format code (s) between brackets, so the code will look:
Код:
if(sscanf(params, "s[128]fi", string, heal, price))
- nvm, morgan posted it before me
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)