Raised This Month: $32 Target: $400
 8% 

Solved Fake MAX Slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Luix
Senior Member
Join Date: Dec 2009
Location: Venezuela
Old 05-23-2018 , 10:47   Fake MAX Slots
Reply With Quote #1

Good morning! My question is really simple, is it possible to send a fake MAX Slots value to a listenserver? I'm doing a MOD where most of the players are bot (about 75% of the slots) and I want to make them like they don't exist, as any game where you use AI. I hided em from the scoreboard so far, and they don't affect the current players value.

For example, there are 16 bots and 24 max slots.
It appears: 0/24 players (if there is not players online).
Is it possible to make it MAX Slots - Bots?
I.E. 0/8 players

I hope it can be done, greetings
__________________

Last edited by Luix; 05-23-2018 at 11:36. Reason: solved
Luix is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 05-23-2018 , 11:17   Re: Fake MAX Slots
Reply With Quote #2

I don't think it's possible, only if you rewrite the bots as an default entity like info_target.
__________________








CrazY. is offline
Luix
Senior Member
Join Date: Dec 2009
Location: Venezuela
Old 05-23-2018 , 11:35   Re: Fake MAX Slots
Reply With Quote #3

I was researching the answer for a few days, but I just had to do a thread to find it myself, a few minutes after.
sv_visiblemaxplayers seems to be the way, and there's a perfect example on adminslots.sma that cames with the base AMXModX. I'll mark it as solved.
__________________

Last edited by Luix; 05-23-2018 at 11:36.
Luix is offline
Reply



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 05:11.


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