Time script
#1

Hey guys.
Im gonna make a time script for my server. You know, where 1 hour in-game is like 2 seconds irl.
I know its easy to make, its just a timer and a textfraw. But which way is the easiest?
Reply
#2

Most of the time there's no textdraw. It's just the default SetWorldTime. You have to enable the clock on gamemodeinit and then use a repeating timer to keep track of minutes, seconds, etc.
Reply
#3

Yea, and then make a textdraw showing the value of the time etc.
Reply
#4

https://sampwiki.blast.hk/wiki/TogglePlayerClock
look at the example here and edit it to a textdraw.
Reply
#5

I already made one, it works just great.
Reply
#6

Quote:
Originally Posted by PCheriyan007
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/TogglePlayerClock
look at the example here and edit it to a textdraw.
I prefer SetWorldTime in stead. Anyways, thanks for your help.
Reply
#7

Quote:
Originally Posted by sim_sima
Посмотреть сообщение
I prefer SetWorldTime in stead. Anyways, thanks for your help.
you prefer being a b8by
Reply
#8

Quote:
Originally Posted by Madsen
Посмотреть сообщение
you prefer being a b8by
I'm sorry, but...i don't think this refers with anything to do with this topic. So why don't you quit being a n00b(yeah i can type like that too) and quit acting like a badass.
Reply
#9

Quote:
Originally Posted by Steven82
Посмотреть сообщение
I'm sorry, but...i don't think this refers with anything to do with this topic. So why don't you quit being a n00b(yeah i can type like that too) and quit acting like a badass.
I know him in real life, he is just making fun, cus i already solved the time thng
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)