25.03.2012, 12:22
Why don't you use the "u" specifier? You can only type a playerid, you can't type a partial of the username using just the "d" specifier. You can use the "u" specifier in the stock version of sscanf too.
Also, where do you define "player1"?
Also, where do you define "player1"?