How do I force cl_ rates setting on connecting players?
I want to change some settings on players the join my server.
I found this code, but have no idea if it works at all, as it’s from 2012.
hook.Add( "PlayerInitialSpawn", "ForceRates", function( ply ) timer.Simple( 3, function() if ValidEntity( ply ) then ply:ConCommand( "cl_updaterate 16" ) ply:ConCommand( "cl_cmdrate 16" ) end end )
Any help would be really appreciated.