30.10.2015, 15:20
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:
- nvm, morgan posted it before me
Код:
if(sscanf(params, "s[128]fi", string, heal, price))