Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Luis_Labarca on Jul 01, 2016, 05:42 AM

Title: Disable watch
Post by: Luis_Labarca on Jul 01, 2016, 05:42 AM
Hello I wanted to ask if you can disable the sight which is like first-person weapons m4/m60/ruger
Title: Re: Disable watch
Post by: DizzasTeR on Jul 01, 2016, 07:30 AM
A small snippet can actually do that work.
Title: Re: Disable watch
Post by: KAKAN on Jul 01, 2016, 08:36 AM
Take the user's keybind and use return 0 to disable it.
Title: Re: Disable watch
Post by: Luis_Labarca on Jul 01, 2016, 12:12 PM
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
Title: Re: Disable watch
Post by: Luis_Labarca on Jul 01, 2016, 12:13 PM
Quote from: Doom_Kill3R on Jul 01, 2016, 07:30 AMA small snippet can actually do that work.
ok bro ;)
Title: Re: Disable watch
Post by: KAKAN on Jul 01, 2016, 01:12 PM
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
Title: Re: Disable watch
Post by: Xmair on Jul 01, 2016, 05:20 PM
This can easily be done by using onPlayerActionChange.
Title: Re: Disable watch
Post by: Luis_Labarca on Jul 02, 2016, 02:22 AM
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

Title: Re: Disable watch
Post by: Luis_Labarca on Jul 02, 2016, 02:23 AM
Quote from: Xmair on Jul 01, 2016, 05:20 PMThis can easily be done by using onPlayerActionChange.
Thank ;) you also for your help bro