Jump to content

What to use


SkrillexX

Recommended Posts

Posted

What am i supposed to use in order to make a DxText showing me a percentage (from 1% to 100% ) Increasing.

To move from 1% to 2% , it takes 5 seconds )

  • Moderators
Posted
im not sure. but i think u have to setTimer for the dxDraw and create table for numbers from 1 to 100. as i said ( im not sure )

Half of this is correct. You need a variable to store the current progression (so 0 at the begining).

Then use a setTimer that will increase by 1 the variable each 5 seconds.

Use dxDrawText inside an onClientRender event that will print the variable and the symbol %

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
  • Recently Browsing   0 members

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