Quantcast

Jump to content

» «
Photo

need help with native

3 replies to this topic
mike43842
  • mike43842

    Player Hater

  • Members
  • Joined: 02 Feb 2013
  • None

#1

Posted 28 October 2013 - 11:43 AM

Hi people I need help with native in SCO scripts, "IS_BUTTON_PRESSED(uint padIndex, uint button);" I can't understand what need write to uint padIndex? please help who know that.             P.S. sorry for my bad english


hardsty1e
  • hardsty1e

    GLITCHED

  • Members
  • Joined: 02 May 2009
  • None

#2

Posted 28 October 2013 - 01:46 PM Edited by hardsty1e, 29 October 2013 - 04:53 AM.

if(IS_BUTTON_PRESSED(0,BUTTON_LB)

IS_BUTTON_PRESSED( Controller ID (0) , Button ID )


julionib
  • julionib

    Coder

  • Members
  • Joined: 13 Sep 2012
  • Brazil

#3

Posted 28 October 2013 - 01:47 PM

is the number of the controller connected/player, commonly 0


hardsty1e
  • hardsty1e

    GLITCHED

  • Members
  • Joined: 02 May 2009
  • None

#4

Posted 29 October 2013 - 05:21 AM Edited by hardsty1e, 29 October 2013 - 05:22 AM.

is the number of the controller connected/player, commonly 0

i would say no, seems like controller id is whatever the slot number on controller is...but i could be wrong

IS_BUTTON_PRESSED( Controller ID (0) , Button ID )

 

$(KGrHqUOKjcE0)(kC1QRBNdUb6mkiw~~_1.JPG





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users