Remove Menu Keys(cvar)
Hi,
I have a problem, and i don't know how to solve it. I have a menu with 3 options. 1.He grenade 2.Flash grenade 3.Smoke grenade I have 3 cvars amx_he_on 1 amx_flash_on 0 amx_smoke_on 0 And i want to remove the specified key if the cvar is 0 for the specified grenade. Now you see the keys, from my cvars 1(on-enabled), and 2(off-disabled) PHP Code:
A stupid methode will be PHP Code:
How can i remove keys with a cvar ? |
Re: Remove Menu Keys(cvar)
Nobody ? :)
|
Re: Remove Menu Keys(cvar)
Hi
1. You should show us your code that is easier for us to help you. 2. Why you want to remove the keys? Add only keys that are used. Example: PHP Code:
|
| All times are GMT -4. The time now is 00:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.