CLEO Help [LOCK] Time in SAMP ? [LOCK]

CLEO related
Status
Not open for further replies.

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Hi,

Rapid question:

Any possibility to get and store the current time in SAMP?

this opcode
00BF: get_time_of_day $TIME_HOURS $TIME_MINS

does not work :(
 

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Re: Time in SAMP ?

Game time.

I founded on this forum a way to have the "my computer time", I just would like to know if their is a way to have the "current server time"
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Re: Time in SAMP ?

Umm, nope.
If the server uses a textdraw to show the hour/minute, you could read that.

About game time, if the server sets it to the server time you could read that from sampSettings
Code:
uint8_t byteWorldTime_Hour;
uint8_t byteWorldTime_Minute;
 

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Re: Time in SAMP ?

All right, it's OK, i will take the "my computer time" function.

Thanks springfield.

You can LOCK it.
 
Status
Not open for further replies.
Top