sscanf warning: Strings without a length...
#2

If you use specifier "s" without any size, it's by default 32.

Use a size for it, an example:
pawn Код:
if(sscanf(params,"iis[24]",orgid,orggenre,oname)) return SCM(playerid,grey,"Usage: /createorg [Orgid] [Genre] [Name]");
Change 24 to the size of oname (if it's not 24).
Reply


Messages In This Thread
sscanf warning: Strings without a length... - by MikeMike1997 - 27.03.2014, 17:54
Re: sscanf warning: Strings without a length... - by Konstantinos - 27.03.2014, 17:56
Re: sscanf warning: Strings without a length... - by MikeMike1997 - 27.03.2014, 17:57

Forum Jump:


Users browsing this thread: 2 Guest(s)