View Single Post
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 03-10-2021 , 03:07   Re: sv_visiblemaxplayers not working in server.cfg
Reply With Quote #14

Quote:
Originally Posted by Marverlous View Post
The code compile without trouble, but visiblemaxplayers still remains unchanged for some reason
I checked both server.cfg and autoexec.cfg, nothing is overriding the cvar unless there's a stock config I'm unaware of.
Dont touch that
Code:
sv_visiblemaxplayers
and remove it from all configs.
Just set
Code:
+maxplayers
to the Value needed and then set
Code:
amx_hideslots
to the Number you want to substract from that
Code:
+maxplayers
.
Remeber: You only need one additional Slot!

If +maxplayers and sv_visiblemaxplayers differ, you will see the +maxplayer-Value - so you should just remove ANY sv_visiblemaxplayers-Setting in your configs and restart the hlds-process.

Last edited by AllMassive; 03-10-2021 at 03:13. Reason: typo
AllMassive is offline