Raised This Month: $51 Target: $400
 12% 

[TF2] player_changename problem on arena mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 07-25-2020 , 03:45   [TF2] player_changename problem on arena mode
Reply With Quote #1

Hello.
I was trying to hook the player's nickname change event.
The problem is that I have an arena mode, and before the start of the round everything is fine, the event works fine, but after the start of the round it stops working.
I have tested this on a clean server (with SM). Has anyone encountered this and is there a solution to this problem?



I also tried the following code to make sure that the event doesn't really hook.
Code:
public void OnPluginStart(){
	HookEvent("player_changename", Event_ChangeName);

}

void Event_ChangeName(Event hEvent, const char[] sName, bool bDontBroadcast){
	PrintToChatAll("event");
}
__________________
Sorry for my English.
Mr_panica is offline
Zeisen
Member
Join Date: Nov 2016
Location: Republic of Korea
Old 07-25-2020 , 05:07   Re: [TF2] player_changename problem on arena mode
Reply With Quote #2

did you try player_info event instead?
Zeisen is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 07-25-2020 , 06:07   Re: [TF2] player_changename problem on arena mode
Reply With Quote #3

Quote:
Originally Posted by Zeisen View Post
did you try player_info event instead?
Yes, I tried it now - the same result.
But OnClientSettingsChanged seems to work fine.
__________________
Sorry for my English.
Mr_panica is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode