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

Ban not showing in CHAT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 03-26-2020 , 06:45   Ban not showing in CHAT
Reply With Quote #1

Everything works great except when i ban someone nothing appears on server chat. Translation files are uploaded, i cant find the solution. Help please.
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 04-17-2020 , 09:36   Re: Ban not showing in CHAT
Reply With Quote #2

HELP PLS!
[SourceBans++] Permanently banned player "RemusOPR" (reason: wall).
this show only in console, it doesnt show in chat, why?
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-25-2020 , 13:00   Re: Ban not showing in CHAT
Reply With Quote #3

https://github.com/sbpp/sourcebans-p..._main.sp#L1160

ShowActivityEx
https://sm.alliedmods.net/new-api/co...ShowActivityEx

ShowActivity
https://sm.alliedmods.net/new-api/console/ShowActivity

Code:
Displays usage of an admin command to users depending on the setting of the sm_show_activity cvar.

This version does not display a message to the originating client if used from chat triggers or menus. If manual replies are used for these cases, then this function will suffice. Otherwise, ShowActivity2() is slightly more useful.
Only others see chat message, not yourself when execute command from chat or menu.
It depends your sm_show_activity setting, which players and admins see chat message at the end.
__________________
Do not Private Message @me
Bacardi 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 23:37.


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