Log in

View Full Version : Proggy Report, Worked. Help Please



grindisbest
06-06-2007, 08:24 PM
My problem is that I'm not to sure how to use the 'Worked' int in the player array. Doesn't it add up the mins without me needing to worry or do I have to work it out myself somewhere?

Harry
06-06-2007, 08:30 PM
Umm.. I wish I could help you, but I don't really understand your English, sorry :(

grindisbest
06-06-2007, 08:38 PM
Lol, ok what's not to understand? I'm asking if 'Worked' in the player array adds itself up or if I have to set it in the script somewhere.

XcanadamanX
06-06-2007, 09:26 PM
i think you have to use like
players[currentplayer].worked:=endtime-starttime
whereas starttime is declared when the player starts and end time when the player ends.
hope you know what i mean

Mjordan
06-06-2007, 09:27 PM
Just put + IntToStr(Players[I].Worked) + into your proggy and it will tell how long that player worked ;)

XcanadamanX
06-06-2007, 09:32 PM
mj: is it like that? ive not used it in awhile:P

edit: boo that was a bad 500th post

grindisbest
06-06-2007, 10:34 PM
Hmmm, I've tried just putting it in and it didn't work. I guess I'll put in timers.