Help with Timer
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
This is ridiculous and simply not viable. Since the timers aren't being killed you will create lag that gets progressively worse until the server comes to a complete standstill. At which point the CPU usage will reach 100% and your server will probably crash.

It is also incorrect because playerids are volatile. If a player disconnects another player can take the slot. And then what? Reset the variable? Discarding the stored value for the previous player in the process?
Quote:

Can you please give me an example?

example != write the entire code for me

--

As for OP, I SUPPOSE you're saving the value in your database just like the rest of the player's data, aren't u?
Reply


Messages In This Thread
Help with Timer - by GeorgeMcReary - 07.03.2017, 15:21
Re: Help with Timer - by Toroi - 07.03.2017, 15:44
Re: Help with Timer - by GeorgeMcReary - 07.03.2017, 16:06
Re: Help with Timer - by DRIFT_HUNTER - 07.03.2017, 16:16
Re: Help with Timer - by Toroi - 07.03.2017, 16:18
Re: Help with Timer - by GeorgeMcReary - 07.03.2017, 16:24
Re: Help with Timer - by Vince - 07.03.2017, 16:38
Re: Help with Timer - by Toroi - 07.03.2017, 17:04
Re: Help with Timer - by GeorgeMcReary - 08.03.2017, 08:40
Re: Help with Timer - by GTLS - 08.03.2017, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)