26.06.2013, 11:46
Hey, i'm getting this error recently in the console since i added a few sscanf's in the script.
Code:
The places where sscanf appears:
Any help please?
Code:
Код:
[14:38:49] sscanf warning: Unknown format specifier ',', skipping. [14:38:53] sscanf warning: Unknown format specifier ',', skipping. [14:38:56] sscanf warning: Unknown format specifier ',', skipping. [14:38:58] sscanf warning: Unknown format specifier ',', skipping. [14:39:06] sscanf warning: Unknown format specifier ',', skipping. [14:39:20] sscanf warning: Unknown format specifier ',', skipping. [14:39:23] sscanf warning: Unknown format specifier ',', skipping. [14:39:27] sscanf warning: Unknown format specifier ',', skipping. [14:40:45] sscanf warning: Unknown format specifier ',', skipping. [14:40:48] sscanf warning: Unknown format specifier ',', skipping.
pawn Код:
if(sscanf(params,"r,i", target, carhp)) return SCM(playerid,COLOR_GRAY,"Syntax: /setplayercarhp [playerid] [value]");
pawn Код:
if(sscanf(params,"r,i", target, armor)) return SCM(playerid,COLOR_GRAY,"Syntax: /setarmor [playerid] [value]");
pawn Код:
if(sscanf(params,"r,i", target, phealth)) return SCM(playerid,COLOR_GRAY,"Syntax: /sethp [playerid] [value]");
pawn Код:
if(sscanf(params,"i", carid)) return SCM(playerid,COLOR_GRAY,"Syntax: /getcar [carid]");
pawn Код:
if(sscanf(params,"i", carid)) return SCM(playerid,COLOR_GRAY,"Syntax: /getincar [carid]");
pawn Код:
if(sscanf(params,"i", carid)) return SCM(playerid,COLOR_GRAY,"Syntax: /gotocar [carid]");