Raised This Month: $94 Target: $400
 23% 

Colour Chat Menu (v1.50)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 10-09-2009 , 06:25   Colour Chat Menu (v1.50)
Reply With Quote #1

I've had this mod for quite a while, so I thought I'd might release it here.

Purpose:
This plugin is for people who wish to change their chat colours quickly through an in-game menu.

Installation:
To install it, you can simply download the .zip from the attachments and extract it to your amxmodx folder.
Usage:
Create a file called 'colours.ini' in your configs directory.

To make a new colour, write on a new line in this format.
"Colourname" <red> <green> <blue>
Code:
"Default" 255 180 30
"White" 255 255 255
Commands:
/colour - opens the colour menu
colour - opens the colour menu
Credits:
alka - stole his menu code
arkshine - giving me some helpful suggestions
connor - giving me some info on dynamic arrays
Jon - used some of his trails code
Log Changes:
v1.50 - Added page numbers, fixed ML, edited menu layout.
v1.45 - Fixed another error...
v1.40 - Fixed a small error.
v1.35 - Added custom colour menu, made it work with "+" characters on client join
v1.30 - Finished ML, fixed up clamp() functions, updated code for more readability
v1.25 - Optimised the code a bit...
v1.20 - Changed it to use dynamic arrays, so there's no limit on the amount of colours it uses
v1.15 - Added ML, removed hardcoded configs directory, added 'change to default option', removed 'by shadow.hk' from menu header
v1.0 - Initial release
[IMG]http://img510.**************/img510/7476/colourmenu.th.jpg[/IMG][IMG]http://img242.**************/img242/6313/colourmenu2.th.jpg[/IMG]

This is my first plugin released so let me know if it's any good
Attached Files
File Type: ini colours.ini (455 Bytes, 6070 views)
File Type: sma Get Plugin or Get Source (colourmenu.sma - 9823 views - 8.3 KB)
File Type: txt colourmenu.txt (1.2 KB, 4644 views)

Last edited by shadow.hk; 06-12-2010 at 07:52. Reason: Updated to v1.50
shadow.hk is offline
Send a message via MSN to shadow.hk
ekabum
Member
Join Date: Jun 2009
Old 10-09-2009 , 06:35   Re: Colour Chat Menu
Reply With Quote #2

Screen plz...
ekabum is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-09-2009 , 07:54   Re: Colour Chat Menu
Reply With Quote #3

Well, the idea of the plugin is good, and the code of this plugin can help to me in a thing that i want to do =o so thx. But, the problem is:

PHP Code:
client_cmd(id"con_color ^"%%%i^""g_ColourSettings[colour][0], g_ColourSettings[colour][1], g_ColourSettings[colour][2]) 
But dont know, maybe i am wrong, becouse you change the colors with the menu, so is not slowhacking as far as i know.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
soolt
BANNED
Join Date: Aug 2009
Location: Lithuania
Old 10-09-2009 , 07:56   Re: Colour Chat Menu
Reply With Quote #4

very nice ;) i like it.
soolt is offline
Send a message via Skype™ to soolt
Redfalcon
BANNED
Join Date: Sep 2009
Location: Prison Break
Old 10-09-2009 , 08:46   Re: Colour Chat Menu
Reply With Quote #5

Nice dude
Redfalcon is offline
Send a message via MSN to Redfalcon
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-09-2009 , 09:15   Re: Colour Chat Menu
Reply With Quote #6

Doing a menu for client cvar is useless.
SnoW is offline
Send a message via MSN to SnoW
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 10-09-2009 , 09:21   Re: Colour Chat Menu
Reply With Quote #7

Quote:
Originally Posted by Alucard^ View Post
Well, the idea of the plugin is good, and the code of this plugin can help to me in a thing that i want to do =o so thx. But, the problem is:

PHP Code:
client_cmd(id"con_color ^"%%%i^""g_ColourSettings[colour][0], g_ColourSettings[colour][1], g_ColourSettings[colour][2]) 
But dont know, maybe i am wrong, becouse you change the colors with the menu, so is not slowhacking as far as i know.
Of course it's not slowhacking since it's up to the client if he wants to use the menu options or not.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 10-09-2009 , 10:41   Re: Colour Chat Menu
Reply With Quote #8

Quote:
Originally Posted by SnoW View Post
Doing a menu for client cvar is useless.
It's not useless - most people don't even realise that you can change your chat colour, and even then they wouldn't know the r|g|b values for their wanted colours. This is a quick and easy way to allow people to change it.
shadow.hk is offline
Send a message via MSN to shadow.hk
3Di
Member
Join Date: Sep 2009
Location: #php_title
Old 10-09-2009 , 10:44   Re: Colour Chat Menu
Reply With Quote #9

Colour -> Color
3Di is offline
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 10-09-2009 , 10:46   Re: Colour Chat Menu
Reply With Quote #10

Quote:
Originally Posted by Alucard^ View Post
But dont know, maybe i am wrong, becouse you change the colors with the menu, so is not slowhacking as far as i know.
I don't think it's slowhacking if you're not forcing them to use it. I know of one community that forces a blue chat colour each time you join and you're unable to change it.

Quote:
Originally Posted by 3Di View Post
Colour -> Color
I'm in Australia.
shadow.hk is offline
Send a message via MSN to shadow.hk
Old 10-09-2009, 10:50
KadiR
This message has been deleted by KadiR. Reason: whooopp
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 20:11.


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