sscanf warning.
#2

pawn Код:
if(sscanf(params, "%s[128]", text)) return SCM(playerid, -1, "Usage: /g <text>");
You placed an additional '%'. This is how you do it right:
pawn Код:
if(sscanf(params, "s[128]", text)) return SCM(playerid, -1, "Usage: /g <text>");
Reply


Messages In This Thread
sscanf warning. - by LeXuZ - 07.02.2015, 11:40
Re: sscanf warning. - by HazardouS - 07.02.2015, 11:42
Re: sscanf warning. - by LeXuZ - 07.02.2015, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)