TomTuff
2010-12-21 02:01:53
So I'm trying to fix up all the last little bugs in my most recent script (Working very well so far, and I've learned from past releases to fix all the bugs before you release ;)), but i can't quite get the exp/hr to work :(
At first i tried
Where X64 is an Int64, and Players.Integers[12] is the players experience gained. That didn't work, and was spitting out apparently random numbers (Some were negative… lol)
So now i'm trying this:
How should i do this? Help appreciated :)
At first i tried
X64 := Round((Players[i].Integers[12]*3600000)/PlayerWorked(i));
Where X64 is an Int64, and Players.Integers[12] is the players experience gained. That didn't work, and was spitting out apparently random numbers (Some were negative… lol)
So now i'm trying this:
X64 := Round(Players[i].Integers[12]/3600000);
But It's only putting out 0 :(How should i do this? Help appreciated :)