One "global" timer or "Per-player" timer?
#6

Quote:
Originally Posted by S4t3K
Посмотреть сообщение
If I may add something to ******'s post, because I'd use the per player timers personally, I use the y_timers for basically all of my timers, and I find very interesting the balancing algorithm. If you're worried about memory, I strongly suggest you to use them too.
y_timers look confusing for me :l

Quote:
Originally Posted by Bakr
Посмотреть сообщение
Uh.. Not sure what the "secret message" of that was, but I only have a 1 second main-timer(Others are 5+ seconds(even minutes)), so they shouldn't conflict/do stuff at the same time.

And uh, i'm still confused.
Some of you say to use the 1 timer, but ****** says no :l

@******:
What did you exactly mean with "Either way, the server will have to trigger and run some code for each player, only by not using multiple timers you are basically recreating the timer plumbing in PAWN from scratch (and probably badly). "
I mean, VehicleT is a global var, and it does do "VehicleT[ ... ] = SetTimerEx" each time a player enters a vehicle, but it does get killed when the player exits the vehicle xd
Reply


Messages In This Thread
One "global" timer or "Per-player" timer? - by Kyance - 15.11.2014, 06:39
Re: One "global" timer or "Per-player" timer? - by Bakr - 15.11.2014, 08:23
Re: One "global" timer or "Per-player" timer? - by Virtual1ty - 15.11.2014, 08:25
Re : One "global" timer or "Per-player" timer? - by S4t3K - 15.11.2014, 09:13
Re: One "global" timer or "Per-player" timer? - by Bakr - 15.11.2014, 09:44
Re: One "global" timer or "Per-player" timer? - by Kyance - 15.11.2014, 11:47
Re: One "global" timer or "Per-player" timer? - by Bakr - 15.11.2014, 12:35
Re: One "global" timer or "Per-player" timer? - by Threshold - 15.11.2014, 14:31
Re: One "global" timer or "Per-player" timer? - by Kyance - 15.11.2014, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)