player_button_is_pressed(button)

Parameters:
button (integer) corresponding to the enum "xbox2_button_codes" defined in input.h
 
Returns:
none

Description:
Check if a specific controller button is pressed.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16