Hello !
Actually i try to modify my Config in game menu.
I try to add the USE GRENADE command to the menu, but it s doesn t work..
In game i can see the option, but i can link a key to this option....
This is my script :
itemDef
{
name upgrades
group optionsGrp
type ITEM_TYPE_BIND
text "Use grenade:"
cvar "itemact gren"
rect 96 210 192 15
textalign ITEM_ALIGN_RIGHT
textalignx 90
maxPaintChars 20
textaligny 12
textscale .25
forecolor 1 1 1 1
visible 0
action
{
play "sound/misc/menu1.wav";
}
}
i tryed with :
itemact "grenade"
but doesn t work.
Can you help me ?
Thx