Add OnClientLanguageChanged() forward#1597
Conversation
|
Works for CS:GO on_client_language_loaded_test.zip |
|
For consistency, this would need to be implemented for all games (even though it would be called right at connect for non-CS:GO). |
|
I think this would be best as As with other feature requests / changes, this could do with your use case and an analysis why this is the best and most flexible solution. |
|
on_client_language_changed_test.zip |
asherkin
left a comment
There was a problem hiding this comment.
The logic here all looks good to me, I think we just need the forward hooked up in CPlayer::SetLanguageId as well.
This forward is needed so that plugins can perform actions on the player related to his language at
OnClientLanguageLoaded()moment.