Bind 1 key to "1" and another to "0".
That should allow you to toggle.
I found this in another forum.If it can help use it,i saw this already works on xbox and ps3,i tried it on pc but i got the .I.
"So ive had a look and 5 minute play around with a few dvars. Ive gotten
binds to "sort of" work ( bind "3" "g_infiniteAmmo" "" "default" or bind "3" "g_infiniteAmmo" "" "1") using a keyboard, meaning they work but can only be switched off and is also touch and go, they sometimes work sometimes don't, they are auto set to enabled due to the "autoexec.cfg" that auto runs as soon as the game starts. you could however use an "exec.cfg" and see if that enables you to turn on and off (as this doesn't auto start) but you may need console to enable it.
I have tried using ("bind BUTTON_BACK g_infiniteAmmo "1") thus pressing select should enable/disable the bind, although this doesn't work and just enables the infinite ammo. So really if someone knows the proper name for select or any other buttons in this game let me know and ill see if i can get binds to work. Im guessing its gonna be retarded key names though as the game seems to be a direct port from PC.
Another thing to try is editing the "brinkconfig.cfg" file and changing the Dvars/cvars in there as they are game changes (you could even add some there and they will work), we might get the binds to work from there or find the name of the buttons used."
Last edited by Margherita; 09-14-2011 at 02:20 PM.
Bind 1 key to "1" and another to "0".
That should allow you to toggle.
bind "3" "g_infiniteAmmo" "" "1"
bind "4" "g_infiniteAmmo" "" "0"
3 on
4 off
bla bla bla
bla bla bla