Quantcast

Jump to content

» «
Photo

[SA] Opcode 00E1 Zoom problem

2 replies to this topic
aStiffSausage
  • aStiffSausage

    Formerly Oksu

  • Members
  • Joined: 30 Sep 2010
  • Finland

#1

Posted 20 September 2013 - 10:33 AM

Hi again.

 

So, I'm trying to use opcode 00E1 to check if player does press zoom in or zoom out while aiming with sniper. Also, next weapon and previous weapon seem not to work too, as they share ID's with zoom in and zoom out keys. It's not problem with the script itself, as conversation yes/no works properly when used. I'm asking, if there's a way to read key's from the memory which are assigned to zoom in/out, and then check those?


Wesser
  • Wesser

    The complexity simplifier, the efficiency optimizer.

  • Feroci
  • Joined: 19 Aug 2006
  • Unknown
  • Contribution Award [Mods]

#2

Posted 20 September 2013 - 12:31 PM Edited by Wesser, 20 September 2013 - 12:37 PM.

The zoom in keypress identifier is 14, for zoom out it is 16.


aStiffSausage
  • aStiffSausage

    Formerly Oksu

  • Members
  • Joined: 30 Sep 2010
  • Finland

#3

Posted 20 September 2013 - 02:23 PM

I feel dumb. Thanks!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users