eloscar23 Posted November 26, 2023 Group: Members Topic Count: 33 Topics Per Day: 0.04 Content Count: 69 Reputation: 0 Joined: 02/21/23 Last Seen: Tuesday at 05:44 PM Share Posted November 26, 2023 Hello, what is the correct usage of Correct Use of Gettimetick(2)? does it start counting whenever you talk to the NPC? or what? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 27, 2023 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted November 27, 2023 *gettimetick(<tick type>) This function will return a tick depending on <tick type>: 0: The server's tick, a measurement in milliseconds used by the server's timer system. This tick is an unsigned int which loops every ~50 days. 1: The time, in seconds, since the start of the current day. 2: The system time in UNIX epoch time, or the number of seconds elapsed since January 1st, 1970. Useful for reliably measuring time intervals. it return your server time tick, not your npc time Quote Link to comment Share on other sites More sharing options...
0 eloscar23 Posted November 28, 2023 Group: Members Topic Count: 33 Topics Per Day: 0.04 Content Count: 69 Reputation: 0 Joined: 02/21/23 Last Seen: Tuesday at 05:44 PM Author Share Posted November 28, 2023 On 11/27/2023 at 12:41 AM, Emistry said: *gettimetick(<tick type>) This function will return a tick depending on <tick type>: 0: The server's tick, a measurement in milliseconds used by the server's timer system. This tick is an unsigned int which loops every ~50 days. 1: The time, in seconds, since the start of the current day. 2: The system time in UNIX epoch time, or the number of seconds elapsed since January 1st, 1970. Useful for reliably measuring time intervals. it return your server time tick, not your npc time I do not understand? it takes the exact time since I interact to npc or whatever holding the variable? Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted November 29, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted November 29, 2023 10 hours ago, eloscar23 said: I do not understand? it takes the exact time since I interact to npc or whatever holding the variable? It takes a number from 0 to 2 and depending on which number you give it, it returns one of the described values. Quote Link to comment Share on other sites More sharing options...
Question
eloscar23
Hello, what is the correct usage of Correct Use of Gettimetick(2)?
does it start counting whenever you talk to the NPC? or what?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.