You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not see a hook for SetPlayerName in the include, so I'm pretty sure the u/U specifiers won't work when a player name is changed (well they will work, but they'll only accept the old name, not the new one since it's not updated internally).
I also should check for the return value of SetPlayerName when implementing the hook (only when SetPlayerName returns 1 (success) the name should be updated in the plugin).
The text was updated successfully, but these errors were encountered:
...however, it does not check for SetPlayerName's return value, so someone could set §Invalid§Chars³ as name and sscanf would simply accept it, while the players name does not change.
I did not see a hook for
SetPlayerName
in the include, so I'm pretty sure theu
/U
specifiers won't work when a player name is changed (well they will work, but they'll only accept the old name, not the new one since it's not updated internally).I also should check for the return value of
SetPlayerName
when implementing the hook (only whenSetPlayerName
returns1
(success) the name should be updated in the plugin).The text was updated successfully, but these errors were encountered: