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

[Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)


Post New Thread Reply   
 
Thread Tools Display Modes
nikedu45
Senior Member
Join Date: May 2011
Old 10-29-2012 , 08:33   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #11

Quote:
Originally Posted by artimedas View Post
[SM] Native "GetEntProp" reported: Property "m_bIsCoaching" not found (entity 1/player)
[SM] Displaying call stack trace for plugin "cccm.smx":
[SM] [0] Line 439, C:\Users\Dillon\Desktop\Scripting\cccm.sp::Is ValidClient()
L 10/27/2012 - 10:092: [SM] [1] Line 74, C:\Users\Dillon\Desktop\Scripting\cccm.sp::On ClientPostAdminCheck()

not work in css
I have the same problem, do not run on css :/
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
3xr
Junior Member
Join Date: Mar 2005
Old 10-29-2012 , 15:07   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #12

I attached my modified version (not nearly as modified) bc mine can be used by all clients. I fixed it the best I know how.

I hope the guy who made this would want to work on something with me that uses a database or something? ;(
Attached Files
File Type: sp Get Plugin or Get Source (sm_ccc.sp - 228 views - 13.9 KB)
3xr is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 10-29-2012 , 15:28   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #13

Quote:
Originally Posted by 3xr View Post
I attached my modified version (not nearly as modified) bc mine can be used by all clients. I fixed it the best I know how.

I hope the guy who made this would want to work on something with me that uses a database or something? ;(
There is no sense in releasing another one that is public. Use admin_overrides to change it to a specific admin flag.
ReFlexPoison is offline
3xr
Junior Member
Join Date: Mar 2005
Old 10-29-2012 , 15:31   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #14

I only fixed what you have above, but the one I have I used RegConsoleCmd instead of an admin command, that is all. ;)
3xr is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 10-29-2012 , 16:29   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #15

Quote:
Originally Posted by 3xr View Post
I only fixed what you have above, but the one I have I used RegConsoleCmd instead of an admin command, that is all. ;)
Again, the point of overrides is to change the admin flag of a command. You can assign no flag to RegAdminCmd aswell.
ReFlexPoison is offline
3xr
Junior Member
Join Date: Mar 2005
Old 10-29-2012 , 16:37   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #16

And it resets every map change lol... not sure it should do that! I sent you a PM.

Last edited by 3xr; 10-29-2012 at 16:38.
3xr is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 10-29-2012 , 16:40   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #17

The only reason to use RegConsoleCmd is...nothing. It's terrible. You can't override commands made with it; just use RegAdminCmd and set the required flag to 0. Or use admin overrides and set the flag for "sm_ccc" to "". ...That's what it is by default, no?
Quote:
Originally Posted by artimedas View Post
[SM] Native "GetEntProp" reported: Property "m_bIsCoaching" not found (entity 1/player)
Here's the version of IsValidClient that everyone should be using. It won't error out on mods that aren't TF.
PHP Code:
stock bool:IsValidClient(client)
{
    if (
client <= || client MaxClients) return false;
    if (!
IsClientInGame(client)) return false;
    if (
IsClientSourceTV(client) || IsClientReplay(client)) return false;
    return 
true;

__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-29-2012 , 16:51   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #18

this just threw my other custom chat colors menu out the window o.o
Mitchell is offline
3xr
Junior Member
Join Date: Mar 2005
Old 10-29-2012 , 17:08   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #19

Other players cannot do it with the override for some reason...
3xr is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 10-29-2012 , 17:51   Re: [Source 2009] Custom Chat Colors Menu
Reply With Quote #20

Quote:
Originally Posted by 3xr View Post
Other players cannot do it with the override for some reason...
Can you post your config?

Quote:
Originally Posted by 3xr View Post
And it resets every map change lol... not sure it should do that! I sent you a PM.
Not very familiar with SQL querying. This just uses simple clientprefs cookies to save over reconnects.

~~~

I'll be doing a quick update today. Will fix some bug fixes.

Last edited by ReFlexPoison; 10-29-2012 at 17:55.
ReFlexPoison is offline
Reply



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 11:13.


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