AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Colour Chat Menu (v1.50) (https://forums.alliedmods.net/showthread.php?t=105845)

shadow.hk 10-09-2009 05:25

Colour Chat Menu (v1.50)
 
18 Attachment(s)
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 :)

ekabum 10-09-2009 05:35

Re: Colour Chat Menu
 
Screen plz...

Alucard^ 10-09-2009 06:54

Re: Colour Chat Menu
 
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.

soolt 10-09-2009 06:56

Re: Colour Chat Menu
 
very nice ;) i like it.

Redfalcon 10-09-2009 07:46

Re: Colour Chat Menu
 
Nice dude

SnoW 10-09-2009 08:15

Re: Colour Chat Menu
 
Doing a menu for client cvar is useless.

DarkGod 10-09-2009 08:21

Re: Colour Chat Menu
 
Quote:

Originally Posted by Alucard^ (Post 956518)
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.

shadow.hk 10-09-2009 09:41

Re: Colour Chat Menu
 
Quote:

Originally Posted by SnoW (Post 956561)
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.

3Di 10-09-2009 09:44

Re: Colour Chat Menu
 
Colour -> Color

shadow.hk 10-09-2009 09:46

Re: Colour Chat Menu
 
Quote:

Originally Posted by Alucard^ (Post 956518)
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 (Post 956608)
Colour -> Color

I'm in Australia.


All times are GMT -4. The time now is 05:25.

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