Thread: [Solved] Ignore color input
View Single Post
Author Message
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-20-2017 , 19:14   Ignore color input
Reply With Quote #1

Hi guys, I'm currently working with this plugin (also attached below): https://forums.alliedmods.net/showpo...&postcount=538 Unfortunately the author has not been online in 3 months, and I haven't been able to contact him.

This plugin allows players to answer a math question and gain store credits. The store plugin I am using also allows players to colorize their chat messages (using {blue}, {red}, {green}, etc) which is not registering properly with the above plugin. I was wondering if it is possible to ignore the chat colors, and only get the proper string (the numbers) that the player is typing into chat.

Thanks!
Attached Files
File Type: sp Get Plugin or Get Source (zeph_mathcredits.sp - 246 views - 4.8 KB)
__________________

Last edited by sneaK; 03-22-2017 at 01:35. Reason: solved
sneaK is offline