Add support for CCC
Closed this issue · 1 comments
Rushaway commented
Team name display are overwrite by Shop_Chat when CCC is loaded.
Shop_Chat should keep overwrite tag/name/text display of CCC ? (cvar?)
maxime1907 commented
just make a check in shop_chat to know if :
- vip is loaded
- player is vip
- customchatcolors is loaded
- player has enabled his custom chat colors (make a native of
IsClientEnabled
https://github.com/srcdslab/sm-plugin-CustomChatColors/blob/master/addons/sourcemod/scripting/CustomChatColors.sp#L3624)
If he meets all those conditions, do not let him use shop chat and send him a message to let him know that he should use custom chat colors commands (if he tries to use shop chat commands)
main checks here:
- https://github.com/srcdslab/sm-plugin-Shop_Chat/blob/master/addons/sourcemod/scripting/Shop_Chat.sp#L528
- https://github.com/srcdslab/sm-plugin-Shop_Chat/blob/master/addons/sourcemod/scripting/Shop_Chat.sp#L425
- https://github.com/srcdslab/sm-plugin-Shop_Chat/blob/master/addons/sourcemod/scripting/Shop_Chat.sp#L503