sscanf
sscanf copied to clipboard
Issues on u/r specifier
why sscanf u specifier doesn't work properly when input player name?
new
otherid
;
if(sscanf(inputtext, "u", otherid))
return Error(playerid, "Please Input Name!");
if(!IsPlayerConnected(otherid))
return Error(playerid, "Player tidak valid");
when im using r specifier, it also won't work smh
new
otherid
;
if(sscanf(params, "r", otherid))
return Usage(playerid, "/spec(tate) [playerid/PartOfName] - Type '/spec off' to stop spectating.");
if(!IsPlayerConnected(otherid))
return Error(playerid, "Target user isn't logged in!");
My server is currently using 0.3DL with Compat, and use https://github.com/Y-Less/sscanf/releases/tag/v2.13.8