sscanf
sscanf copied to clipboard
Fixes
- Added hook SSCANF_SetPlayerName.
- The letters u, q, r have been updated to account for the case and length of the player/bot name. It works when using MATCH_NAME_SIMILARITY = -1.0 (default).
Deleting (comment) SscanfWarning(2, "String buffer overflow."). He is not needed. When I use it, for example, in a command:
new targetNickName[MAX_PLAYER_NAME + 1];
sscanf(params, "s[*]", MAX_PLAYER_NAME + 1, targetNickName))
If the player enters a string length greater than the nickname (MAX_PLAYER_NAME + 1), it outputs this string in the console.