![]() |
setTimer is frame-based, not time-based.
|
setTimer works in a DBNPC, are you sure it's frame based?
|
Quote:
|
Quote:
That is why it's useless to set timeouts lower than 0.1 on the server-side and 0.05 on the client-side. (Depending on the application you should be using the highest or no timeout at all if possible). Play with this script: PHP Code:
|
Ah I see.
So it's not actually controlled by when the game enters a new frame. I was confused for a bit there lol. |
Quote:
|
Maybe itīs just me, but why not use this check?
PHP Code:
|
Question, you have 2 timeouts. One for actually counting down, and one for showing the time. Correct me if I am wrong but wouldn't it be better to just calculate the time with timevar/timevar2 in the timeout to show the variable?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 06:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.