[Solved]Disabling keys?

Posts 1–9 of 9 · Page 1 of 1
[Solved]Disabling keys?
Been looking thid for some time now but with litlle results :/

So let's assume i want to disable the key 3 (+actionslot 3) .. what kinda code should i use?
wrong section?, this should be in the GSC Modding/discussion section
/Moved to GSC Help/Discussion
unbind "3"
Well, that's for the console.
Quote Originally Posted by master131 View Post
unbind "3"
Well, that's for the console.
NO!


Put this in a loop:
[php]self SetActionSlot( 3, "" );[/php]
Not sure it'll work, but i think it should remove the possibility to pull out the grenade launcher. Try it out.
Wouldn't the break; work for this? it worked for me
Confirmed.
[php]for(;{
self SetActionSlot( 3, "" );
wait 1;}[/php]
Makes you unable to pull out a grenade launcher.

Proof:
[img]http:/saurus.com/users/blade/disablegl.png[/img]
/marked as solved
Ok sorry for wrong thread thingy, i had 2 diffrent pages up and i gues i posted on the wrong one

Thx guys
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us