Jump to content

can someone point me in the right direction


Jiraiya

Recommended Posts

how would i go about creating something that has two variables  "A"/"B"  i need A to represent the current amount of cash or something and B to represent the maximum that they can have

hers what i mean

                                        A/B

                                    100/100

                                      90/100

and i also need to be able to echo it in the form that is shown above if possible

Link to comment
Share on other sites

im sorry let me try and explain it better. Im making a game and im trying to create a health point system. variable A is supposed to be the players current health  and variable B is supposed to show the players maximum health that hey can have at there current level

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.