![]() |
Free Time Script Example
NPC Code: NPC Code: *Note: you have to add something in here to show the time for instance: NPC Code: If you find any bugs please post them here. Also if oy uhave any suggestions, suggest away. Im only here to help. You need to stop the DB script befor you can set the time. Its scripted s oyou can shange server flags without disturbing the time, thank you for oyur support. ~bloodpet I actualy thought the this.m and this.s were needed rather then doign some other if comands followed by multiple display scritps that get messy..... |
For starters, you don't need to set any strings what so ever to have a time script. Just use the variable for the total server time, which I can not recall at the current moment, but there is one, and some simply mathematics. No need for the complexity.
|
Quote:
yep.. thats all i did some simple mathematics.. and good point about having it just run on variables lemem change that.. It would be a little more cleaner that way anyways... |
I wasn't aiming the mathematics comment towards you, I just said it. But anyways... yeah, variables.
Anyways, how on earth have you changed your forums title after only eight posts? Also, please don't get me started on the title itself... |
Please use code tags :/
Also, using timevar is far superior. It cuts out the need to use a db-npc. |
Quote:
Timevar, and anyone can change their title/avatar at any time |
Did you actually test this? s = #v(this.t);
|
Quote:
Timevar isn't very exact, but it does get the job done. Whatever happened to timevar2? Last time I tried to use it, it didn't work x_x |
Maybe you should change your avatar title. >_<
|
Quote:
|
Quote:
NPC Code:this? |
Quote:
No, I tested it befor I edited it whe ni used strings.. why? i cant really see without my glasses. When I get a new pair later today Ill check the script again and make sure its right.. ohh i forgot to take the #v( ) out fro mwhe ni had it as a string.. sorry.. lemem fix |
I think you made something it a bit more complicated then it ever needed to be.
|
Quote:
and why do you say that? :p |
I've made a far simpler time script with light effects and everything in about 4-5 minutes using timevar, all in one npc.
|
| All times are GMT +2. The time now is 03:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.