Sscanf option problem
#1

Hi guys, i have "SSCANF_Option(MATCH_NAME_PARTIAL, 1);" in callback OnPlayerCommandReceived and sometimes getting wrong player when use string(part of name) even if write all player name. If use playerid is no problem just when use string(part of name). What can i do ?
Reply
#2

I remember the u specifier being bugged in earlier versions. Update your sscanf. If you don't want to update and you exclude NPCs from the commands then you can use the r specifier.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)