10.01.2016, 14:00
Simple question that I'm not 100% sure about:
Well I had like 5-6 things running at OnPlayerUpdate. With only me and my beta-testers online everything was running smoothly but then I thought: what would happen when I release my server and it gets maybe 20-30 players online? OnPlayerUpdate activates alot of times per minute, then...
If I put everything that is under OnPlayerUpdate in a timer that activates every 0,5s will it have less cpu usage or it'll stay the same?
Well I had like 5-6 things running at OnPlayerUpdate. With only me and my beta-testers online everything was running smoothly but then I thought: what would happen when I release my server and it gets maybe 20-30 players online? OnPlayerUpdate activates alot of times per minute, then...
If I put everything that is under OnPlayerUpdate in a timer that activates every 0,5s will it have less cpu usage or it'll stay the same?