What is the name of the grenade hud?
Attachment 1306
I need to hide it and disableWeapon() doesn't do it.
I've been looking for a way to do it, but couldn't find it.
Printable View
What is the name of the grenade hud?
Attachment 1306
I need to hide it and disableWeapon() doesn't do it.
I've been looking for a way to do it, but couldn't find it.
It's a menu hud, hud.menu if I remember correctly.
How hard-coded is vote calling?
I checked menu kickplayer and the response of the "Ok" button is "uiScript voteTempBan".
Is it possible to edit vote calling? I may be wrong, but, a few years ago, I remember seeing mods that could enable/disable the particular kinds of vote calling (e. g. allow map change, but not kicking). I know you can display/hide the menu elements with dvars, but I'm not sure if you can stop players from calling votes through console commands without editing vote calling functions.
Maybe this?
https://killtube.org/showthread.php?...ull=1#post3519
Anyway, I'm almost done with a new kick menu (with temp IP ban), but I would still like to know.
Just look at the callbacks in callback_playercommand, you'll see the callvotes soon enough :)