Hello I wanted to ask if you can disable the sight which is like first-person weapons m4/m60/ruger
A small snippet can actually do that work.
Take the user's keybind and use return 0 to disable it.
Quote from: KAKAN on Jul 01, 2016, 08:36 AMTake the user's keybind and use return 0 to disable it.
Ahh ok bro thanks
Quote from: Doom_Kill3R on Jul 01, 2016, 07:30 AMA small snippet can actually do that work.
ok bro ;)
http://wiki.vc-mp.org/wiki/OnPlayerGameKeysChange
This is what you're looking for. Unfortunately, not all keybinds are available though, I mean they're there, but not listed :p
This can easily be done by using onPlayerActionChange.
Quote from: KAKAN on Jul 01, 2016, 01:12 PMhttp://wiki.vc-mp.org/wiki/OnPlayerGameKeysChange
This is what you're looking for. Unfortunately, not all keybinds are available though, I mean they're there, but not listed :p
Thanks :D friend this me just
Quote from: Xmair on Jul 01, 2016, 05:20 PMThis can easily be done by using onPlayerActionChange.
Thank ;) you also for your help bro