[Request]Menu Help
Hello, i just thinking if is possible to add a cooldown in a menu (float)
like this: if(user_has_weapon(id, CSW_HEGRENADE)) menu_additem(Menu, "\dHe grenade\w - \rAlready Has HE", "6", 0) else { if(Hegrnd_Countdown[id] = 0) menu_additem(Menu, "\wHe grenade - \rREADY", "6", 0) else menu_additem(Menu, "\dHe grenade\w - \r [%d]", "6", 0, Hegrnd_Countdown[id]) } If can be done , how it should look>? Right now i get a warning : possible unintended assignmenet |
Re: [Request]Menu Help
a hint you have an error in your if statement and for cooldown you can use "set_task"
|
Re: [Request]Menu Help
Some sh*t
Code:
#include amxmodx |
Re: [Request]Menu Help
Just use new AMX menu system to do the job. ;)
|
| All times are GMT -4. The time now is 15:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.