![]() |
Scripting..........
I am getting really tired of my time system. I have tried everything to get it to record hours, but still doesnt work! Does anyone know how to record the hours using the time var?
|
~AlphaFlame~
this.unit=timevar/amount You hafta figure out how to convert it though, unless you want it real time... |
This is my time script I have so far.
Code- if (playerenters) { toweapons -Time; this.mode=1; } if (this.mode==1) { Time(); timeout = .05; } function Time() { if (int(this.min*timevar)%60<10) { showimg 333,@Courier New@bc@#v(int((timevar*this.min)/60)%24):0#v((timevar*this.min)%60),333,78; } else { showimg 333,@Courier New@bc@#v(int((timevar*this.min)/60)%24):#v((timevar*this.min)%60),333,78; } this.min = 1; showimg 334,state.png,282,70; changeimgpart 334,162,60,14,14; changeimgzoom 333,0; changeimgvis 333,4; changeimgvis 334,4; } -End of Code |
Not bad.
|
Thanks, Spanky provided me with most of the script. I just edited it alot, say a hours worth.
|
pretty nice.
Looks ok, but shouldn't it be >9? :D
|
| All times are GMT +2. The time now is 02:36 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.