pawn Код:
if(sscanf(params,"us",id))
should be
pawn Код:
if(!sscanf(params,"u",id))
since "u" stands for user, "s" stands for string and you are only expecting one result, the "id". Also, as far as I know "s" is deprecated and must be used as "s[<size>]". Check this out for more details:
https://github.com/Y-Less/sscanf/wiki#more-specifiers