View Single Post
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 01-19-2021 , 11:04   Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
Reply With Quote #3

return Plugin_Handled in player_changename event doesn't block the name change. You must check the client name in OnClientSettingsChanged() and you should block the message in SayText2 usermessage.

Quote:
Originally Posted by Spyrek View Post
Does the event "player_changename" works in CSGO?
yes, but there are cheats which doesn't trigger the event. OnClientSettingsChanged is the safest way.
__________________
Ilusion9 is offline