Raised This Month: $12 Target: $400
 3% 

CZ Bot Control Silver


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
silver1090
New Member
Join Date: Nov 2017
Old 11-09-2017 , 23:08   CZ Bot Control Silver
Reply With Quote #1

Hello all,

i have coded a new plugin for you all. It is my version of the CZ Bot Control hence called "CZ Bot Control Silver". Other Bot plugins do not work very well or are outdated and/or are not coded very efficiently.

This is a light weight, straight forward way to ensure a minimum amount of bots on the server. It decrements one bot if a player connects. Meaning if one player is on the server there will be only 5 bots. If there will be 6 players there will be no bot. Once players start to disconnect it will increase the amount of bots again.

CVARS:
amx_botquota - Default "6". Controls on how many bots should be on a server at any given time. Decremented/Incremented if players join or leave
amx_botmode - Default "0". "0": Kicks bots if there are no players on the server. This saves you idling CPU Power; "1": This mode does not kick bots after last player leaves. This takes unnecessary CPU power away but is ok if you want that. "3": Bots will stay on the server after last player leaves but will freeze them
Attached Files
File Type: sma Get Plugin or Get Source (cz_botcontrol_silver.sma - 774 views - 1.3 KB)

Last edited by silver1090; 11-09-2017 at 23:11.
silver1090 is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-11-2017 , 06:33   Re: CZ Bot Control Silver
Reply With Quote #2

This plugin won't work on all servers, because the bot_quota command is valid only if MP module is activated.
__________________
Relaxing is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-13-2020 , 08:25   Re: CZ Bot Control Silver
Reply With Quote #3

Too simple to be approved.
__________________
HamletEagle 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 08:12.


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