AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Fake MAX Slots (https://forums.alliedmods.net/showthread.php?t=307747)

Luix 05-23-2018 10:47

Fake MAX Slots
 
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 :crab:

CrazY. 05-23-2018 11:17

Re: Fake MAX Slots
 
I don't think it's possible, only if you rewrite the bots as an default entity like info_target.

Luix 05-23-2018 11:35

Re: Fake MAX Slots
 
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.


All times are GMT -4. The time now is 04:40.

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