plugin_end and talking name in side
About the plugin_end, I run this code:
PHP Code:
Second thing, when someone is talking you can see his name in side of you screen with colors for teams, is there a way to alter these colors for specific players? |
Re: plugin_end and talking name in side
Because when plugin_end is called, all players are disconnected from server. get_players returns zero players.
|
Re: plugin_end and talking name in side
https://forums.alliedmods.net/showthread.php?t=189931
Quote:
Also, any ideas about that name color? |
Re: plugin_end and talking name in side
He told the same, just a little bit tricky.
plugin_end() should be the last forward called in plugin before map change or server shutdown. |
Re: plugin_end and talking name in side
How is that the same:
called right before clients are disconnected and plugin_end is called, all players are disconnected from server ? Anyways, thats not the big problem :) I just wanted to know it for sure. Can you give me any ideas about second question? Maybe by changing team offsets when pressing talk button, would that do anything? Haven't tested it yet, nor I can now, but it would be great gathering some ideas. |
Re: plugin_end and talking name in side
Anyone?
|
Re: plugin_end and talking name in side
Quote:
Quote:
please don't request support here. |
Re: plugin_end and talking name in side
Removed, now I don't break any rules.
|
Re: plugin_end and talking name in side
If you call reset_client in client_disconnect, it should be ok.
Also, note that players are not disconnected in plugin_end, but amxx considers they are and sends client_disconnect forwards before plugin_end, so in plugin_end, get_players won't collect any players, is_user_connected won't return 1 with any players. |
| All times are GMT -4. The time now is 15:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.