|
Author
|
Message
|
|
Senior Member
|

12-29-2014
, 18:00
[Request]Menu Help
|
#1
|
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
|
|
|
|