Is it possible to use the newer style radio menus?

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
Mahi
Senior Member
Posts: 236
Joined: Wed Aug 29, 2012 8:39 pm
Location: Finland

Is it possible to use the newer style radio menus?

Postby Mahi » Sun Dec 19, 2021 8:12 am

I mean these: https://i.imgur.com/8Q2ok1v.jpg

Is it possible to create custom menus like this for our mods?
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Is it possible to use the newer style radio menus?

Postby L'In20Cible » Mon Dec 20, 2021 5:07 am

Very unlikely. That menu is probably client-side and all the server receives are the radio commands upon selection. I vaguely remember CS:GO didn't even offer the old ShowMenu at first when it was released and was added later on due to community demands.
User avatar
Mahi
Senior Member
Posts: 236
Joined: Wed Aug 29, 2012 8:39 pm
Location: Finland

Re: Is it possible to use the newer style radio menus?

Postby Mahi » Mon Dec 20, 2021 7:12 am

This isn't something I know how to do myself, so I'm just throwing ideas here, but couldn't we just show the menu client side and then react to different radio commands differently on the server? Nobody uses the radio commands anyways, just block them and do something else entirely :grin: Maybe you could even have the client send customized radio commands: https://dotesports.com/counter-strike/n ... ds-in-csgo

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 37 guests