Difference between revisions of "IS GAME KEYBOARD KEY JUST PRESSED"

From GTAMods Wiki
Jump to navigation Jump to search
m (Link died, updated it a tad.)
Line 2: Line 2:
 
|np=1
 
|np=1
 
|p1t=int
 
|p1t=int
|p1d=Keyboard Scan Code
+
|p1d=key id
|r=0
+
|r=1
 +
|rt = bool
 +
|rd = true / false
 
}}
 
}}
  
 
To find keyboard scan codes use following link: http://code.google.com/p/hyperdbg/source/browse/trunk/hyperdbg/scancode.c?spec=svn130&r=123
 
To find keyboard scan codes use following link: http://code.google.com/p/hyperdbg/source/browse/trunk/hyperdbg/scancode.c?spec=svn130&r=123

Revision as of 12:29, 20 November 2016

IS_GAME_KEYBOARD_KEY_JUST_PRESSED
Number of parameters: 1
Parameter #TypeDescription
1.intkey id
Return value:
TypeDescription
booltrue / false

To find keyboard scan codes use following link: http://code.google.com/p/hyperdbg/source/browse/trunk/hyperdbg/scancode.c?spec=svn130&r=123