Raised This Month: $1944 Target: $400
 486% 

[INC] More Colors (1.9.1)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 04-01-2015 , 06:35   Re: [INC] More Colors (1.9.1)
Reply With Quote #451

I need evenmorecolors.inc and ubercolors.inc
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 04-01-2015 , 10:00   Re: [INC] More Colors (1.9.1)
Reply With Quote #452

try multicolors, maybe even manicolors
__________________
Chdata is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-23-2015 , 12:56   Re: [INC] More Colors (1.9.1)
Reply With Quote #453

how to simply make morecolors work with other plugins? i cant simply do include morecolors.

someone mind showing me by just adding morecolors to this sp? need it for jailbreak warden
Attached Files
File Type: sp Get Plugin or Get Source (warden.sp - 176 views - 7.6 KB)

Last edited by Robin955; 04-23-2015 at 13:12.
Robin955 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-23-2015 , 16:20   Re: [INC] More Colors (1.9.1)
Reply With Quote #454

Quote:
Originally Posted by Robin955 View Post
how to simply make morecolors work with other plugins? i cant simply do include morecolors.

someone mind showing me by just adding morecolors to this sp? need it for jailbreak warden
It's not enough to just include the file. You actually have to USE IT.
  1. Include the file
  2. Replace all PrintToChat, ShowActivity2, etc. calls with their morecolors.inc equivalents. For example, PrintToChat becomes CPrintToChat, ShowActivity2 becomes CShowActivity2, etc. This is all explained in the very first post.
  3. There is no 3.
__________________

Last edited by ddhoward; 04-23-2015 at 17:37.
ddhoward is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 04-23-2015 , 17:29   Re: [INC] More Colors (1.9.1)
Reply With Quote #455

The point #3 is to compile your plugin ;-)
KissLick is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-24-2015 , 20:21   Re: [INC] More Colors (1.9.1)
Reply With Quote #456

thanks. exacly what i needed
Robin955 is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 05-21-2015 , 19:08   Re: [INC] More Colors (1.9.1)
Reply With Quote #457

I am probably being an idiot but I am having a problem with the plugin.

PHP Code:
CPrintToChatAll("[{red}Warden{default}] If a new warden isn't chosen in {red}10 seconds{default} it will be a {green}freeday{default}"); 
Shows up like this:


Thanks for any help.

Last edited by Addicted.; 05-21-2015 at 19:37.
Addicted. is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-21-2015 , 22:43   Re: [INC] More Colors (1.9.1)
Reply With Quote #458

Quote:
Originally Posted by oaaron99 View Post
I am probably being an idiot
You are. There is a list of supported games in the first post, CS:GO is not on that list.
__________________
asherkin is offline
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 05-22-2015 , 17:22   Re: [INC] More Colors (1.9.1)
Reply With Quote #459

Quote:
Originally Posted by nikooo777 View Post
So,
I couldn't find a CSGO version of this due to the fact that CSGO only supports some colors.
I did some research and found that colors from x01 to x10 work, therefore i edited the colors.inc to make it work for csgo with those new colors.

There is a little problem, I am colorblind so I can't really figure out what some colors are, nor am I sure for some of those I wrote. I'd appreciate if somebody had a look at them and fixes the tags and eventually the other Print functions.

I know this is not a clean include at all, however it's better than nothing and i use it in advertisements.smx for printing in chat.

here is what i came up with.
Credits to


BTW, don't use it for any other game other than CSGO... you don't want to break them.

Code:
enum Colors
{
	Color_Default = 0,
	Color_Darkred,
	Color_Pink,
	Color_Green,
	Color_Lightgreen,
	Color_Lime,
	Color_Red,
	Color_Grey,
	Color_Olive,
	Color_A,
	Color_Lightblue,
	Color_Blue,
	Color_D,
	Color_Purple,
	Color_Darkrange,
	Color_Orange
}
Code:
CPrintToChatAll("{default}test{darkred}test{pink}test{green}test{lightgreen}test{lime}test{red}test{grey}test{olive}test{a}test{lightblue}test{blue}test{d}test{purple}test{darkorange}test{orange}test");


use this as reference to the HEX codes:
I love you.
__________________
SourcePawn Coding Level: Novice
DJ Data is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-28-2015 , 06:11   Re: [INC] More Colors (1.9.1)
Reply With Quote #460

Anyone else having issues with the colors {corrupted} and {collectors} in tf2?
Vastrix is offline
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 12:19.


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