2021-03-13, 02:25 PM
(2021-03-12, 11:51 AM)Pinch Wrote:(2021-03-12, 01:17 AM)RhaegarX Wrote: Thank you all for your help!
You can (and should) use tickcount() as it's same as GetTickCount() except it's the time since THE SERVER is running, not THE COMPUTER.
https://open.mp/docs/scripting/functions/Tickcount
It makes no difference if you use the correct code (i.e. the code I posted).
(2021-03-13, 08:40 AM)rasheed Wrote: You can also use this: https://github.com/ScavengeSurvive/tick-difference
No, you shouldn't. It makes the same mistake as I mentioned earlier. Well, not quite mistake - the result is eventually correct, but in an extremely round-about manner.