Jump to content

Input field in an array


member42
 Share

Go to solution Solved by member42,

Recommended Posts

Hello

i would like to know if it's possible to do something like that:

$user = GUICtrlCreateInput("", 730, 25+($i*20), 50, 20) 

and latter use this field to stock his value like:

$oldScore= GUICtrlRead($user)

 

If you see a better way to do this logical i'm also up to it.

Thanks in advance :)

Link to comment
Share on other sites

  • Solution

If it's help to have more information i've a number x of player for each player i need to enter the current score of the game and after each game sum this score at the total of his score.

Mister X has 0 points.

The game is over and Mister X end with 50 points.

The user introduce his score in the field: 50.

The user click on a button to sum this score with his total points. 

[The 2 last step are done for x Users  with a fix number i could easily find a solution.]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...