Y-Less / sscanf

SA:MP sscanf plugin originally made by @Y-Less
Other
122 stars 51 forks source link

Issues on u/r specifier #63

Closed PateeerQ closed 2 months ago

PateeerQ commented 5 months ago

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");

image image image

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!");

image

My server is currently using 0.3DL with Compat, and use https://github.com/Y-Less/sscanf/releases/tag/v2.13.8