Check if the local player is pressing the secondary button (BUTTON_B)
Example:
if ( self SecondaryButtonPressedLocal() ) ...