SkrillexX Posted March 10, 2014 Share Posted March 10, 2014 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 ) Link to comment
Hell-Mate Posted March 10, 2014 Share Posted March 10, 2014 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 ) Link to comment
Castillo Posted March 10, 2014 Share Posted March 10, 2014 Define a variable with the progress, then you can use a timer to increase the variable by 1. Link to comment
Moderators Citizen Posted March 10, 2014 Moderators Share Posted March 10, 2014 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 % Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now