• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ButtonPressed
#1
If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?
  Reply
#2
(01-17-2013, 15:11)archit Wrote: If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?

Maybe block the "e". I know the knife button can be changed, but most of the people have it on "e" I think ?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
  Reply
#3
(01-17-2013, 15:11)archit Wrote: If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?

Same with AdsButton.
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#4
(01-17-2013, 16:10)99IRock Wrote:
(01-17-2013, 15:11)archit Wrote: If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?

Maybe block the "e". I know the knife button can be changed, but most of the people have it on "e" I think ?

I think a lot of older cod players still rebind it to V.
[Image: MaEIQ.png]
  Reply
#5
(01-17-2013, 16:41)Pozzuh Wrote:
(01-17-2013, 16:10)99IRock Wrote:
(01-17-2013, 15:11)archit Wrote: If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?

Maybe block the "e". I know the knife button can be changed, but most of the people have it on "e" I think ?

I think a lot of older cod players still rebind it to V.

Problem is not with it.
Something wrong in addon..
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#6
(01-17-2013, 16:51)SailorMoon Wrote:
(01-17-2013, 16:41)Pozzuh Wrote:
(01-17-2013, 16:10)99IRock Wrote:
(01-17-2013, 15:11)archit Wrote: If I do Client.Other.ButtonPressed(Buttons.Knife) it returns true even when the player doesn't actually knife so,is there any alternative?

Maybe block the "e". I know the knife button can be changed, but most of the people have it on "e" I think ?

I think a lot of older cod players still rebind it to V.

Problem is not with it.
Something wrong in addon..

I know. I was off topic.
[Image: MaEIQ.png]
  Reply
#7
Oh sh*t.
I thought you wanted to block knive >.<
@Pozzuh thanks for telling about the V, didn't know that.
Anyway than I don't know an alternative
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  ButtonPressed CheGuevara 3 915 04-07-2013, 10:48
Last Post: CheGuevara
  [Release] ButtonPressed() List Yamato 3 1,234 08-14-2011, 17:26
Last Post: Yamato

Forum Jump:


Users browsing this thread: 1 Guest(s)