Raised This Month: $342 Target: $400
 85%   Almost there!

Variable timing tic GoldSrc


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-17-2019 , 10:42   Variable timing tic GoldSrc
Reply With Quote #1

Server player count is sys_ticrate multiplier.

Code:
    new numplayers = get_playersnum_ex(GetPlayersFlags:GetPlayers_ExcludeBots)     if (numplayers > 0)     {     new g_Tic     g_Tic = (numplayers * (312));     server_cmd("sys_ticrate %i", g_Tic);
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 01-26-2020 at 16:12. Reason: Asked to have this moved.
DJEarthQuake is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode