Sscanf warning: Strings without a length are deprecated, please add a destination size.
#2

For strings in sscanf, you should add the lenght in square brackets after "s" specifier. For example:
pawn Код:
if(sscanf(params, "us[100]", pID, text))
You don't need sscanf at the command /r since it uses only one parameter and that's string. You can use isnull to return the usage and params as "text".
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)