CS:GO How to check if client has panorama UI enabled
I figured I would share this code as it may be helpful to others. It essentially allows you to detect if a client is running the new panorama UI or the old scale form UI.
DISCLAIMER: This may not be the best method to do this, but it works. The ability to essentially opt in and out of the new UI changes is temporary and won't be around for very long, so this should solve the problem for the time being. Also, just in case you don't yet know how to enable the panorama UI, you can do so by adding -panorama to your launch options. I personally made this for use in a bhop timer so that I would able to assure that both sets of players saw functional Hint HUD, for whichever UI they chose, without glitches. I decided to work this out since valve removed all HTML elements, except font color, along with the ability to create tabs, from the panorama Hint HUD. Thus essentially turning it into the Counter-Strike: Source Hint HUD, but with font colors. To use this, you can simply follow these steps:
If you have any questions about this or need assistance with converting plugins for the new UI changes, feel free to reply here and when I have free time, I'll try to offer assistance based on what I've found during my own testing. Hope this helps. :wink: |
Re: CS:GO How to check if client has panorama UI enabled
I'll implement it and let you know, thanks!
|
Re: CS:GO How to check if client has panorama UI enabled
I think query is possible on onclientauthorized.
|
Re: CS:GO How to check if client has panorama UI enabled
Shorter way to write this:
PHP Code:
|
Re: CS:GO How to check if client has panorama UI enabled
This is useless now since panorama is enabled by default :p
|
Re: CS:GO How to check if client has panorama UI enabled
Quote:
|
Re: CS:GO How to check if client has panorama UI enabled
Quote:
|
Re: CS:GO How to check if client has panorama UI enabled
Quote:
|
Re: CS:GO How to check if client has panorama UI enabled
Quote:
|
All times are GMT -4. The time now is 15:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.