Hey,
ich hab grad irwi ne denkblockade also:
[/PHP]
so bekomme ich nur beim auslesen was da in der comboboy auch steht, ich möchte aba wenn zum beispiel player 5 ausgewählt wird, das in der msg box statt player 5 steht, nur 16 also das $player[4][1] ausgegeben wird statt $player[4][0] ich hab aba irwi grad kein plan wie xD
ich hab grad irwi ne denkblockade also:
PHP Code:
Global $player[8][2] = [["player 1", 0], ["player 2",4], ["player 3",8], ["player 4", 12], ["player 5", 16] , ["player 6", 20], ["player 7", 24], ["player 8", 28]]
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("speed", 698, 86, 192, 124)
$combo = GUICtrlCreateCombo("Player", 8, 16, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
$COMBO1 = GUICtrlSetData(-1, "" & $PLAYER[0][0] & "|" & $PLAYER[1][0] & "|" & $PLAYER[2][0] & "|" & $PLAYER[3][0] & "|" & $PLAYER[4][0] & "|" & $PLAYER[5][0] & "|" & $PLAYER[6][0] & "|" & $PLAYER[7][0] & "")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
MsgBox(0,"",GUICtrlRead($COMBO))
WEnd
so bekomme ich nur beim auslesen was da in der comboboy auch steht, ich möchte aba wenn zum beispiel player 5 ausgewählt wird, das in der msg box statt player 5 steht, nur 16 also das $player[4][1] ausgegeben wird statt $player[4][0] ich hab aba irwi grad kein plan wie xD