engine messaging

All other Source.Python topics and issues.
Junior Member
Posts: 15
Joined: Sun Sep 23, 2018 6:07 pm

engine messaging

Postby botmaster » Sun Oct 07, 2018 9:03 pm

I have a bot management engine, when bots get added/removed CSS always send an automatic message in all player chat like "bot_quota changed to X", is there a way to get rid of it?
User avatar
Project Leader
Posts: 1151
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: engine messaging

Postby L'In20Cible » Mon Oct 08, 2018 5:43 am

If I remember correctly...

Syntax: Select all

from cvars import ConVar
from cvars.flags import ConVarFlags

ConVar('bot_quota').flags &= ~ConVarFlags.NOTIFY

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests