May 11, 201510 yr my script is running fine but i ran into the issue i followed pugs guide but it sorta got messed up so instead of the time till next level going down it goes up/ and also the time running is fucked lol i will post below what code i used for them if you could correct me that would be awesome! http://pastebin.com/YrRejqbq
May 11, 201510 yr my script is running fine but i ran into the issue i followed pugs guide but it sorta got messed up so instead of the time till next level going down it goes up/ and also the time running is fucked lol i will post below what code i used for them if you could correct me that would be awesome! http://pastebin.com/YrRejqbq I didnt look too in-depth, but maybe make sure you followed the guide correctly?
May 11, 201510 yr Author I didnt look too in-depth, but maybe make sure you followed the guide correctly? i made sure i did it correct and the guide is outdated and i know for a fact there are new api's was wondering if you could give me some basic code for time till next level and time ran.
May 11, 201510 yr i made sure i did it correct and the guide is outdated and i know for a fact there are new api's was wondering if you could give me some basic code for time till next level and time ran. TBH i would leave that part of the paint out. It always seems like a hassle to add it and it isnt really used by very many people
May 11, 201510 yr Author TBH i would leave that part of the paint out. It always seems like a hassle to add it and it isnt really used by very many people but you have time ran on your scripts m8?
May 11, 201510 yr but you have time ran on your scripts m8? use System.currentTimeMillis(). It returns the number of milliseconds that have past since Jan 1, 1970(no joke lol) Edited May 11, 201510 yr by AresScripts
May 11, 201510 yr probably as frostbug said, everything looks in order so the only thing that can go wrong (which we cant really see) is where you initialized your timeBegan
May 11, 201510 yr Also, your "Time to level" is calculated in %. I'm just gonna throw this out there.. but.. % is not a valid time unit
Create an account or sign in to comment