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

Makeing Color text in sourcemod plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Qvintus
Junior Member
Join Date: Sep 2009
Old 09-26-2009 , 09:25   Makeing Color text in sourcemod plugin?
Reply With Quote #1

Hi i'm trying to make so admins on my server types in green text with out the prefix "@" from the mani admin plugin, i was just wondering if any think its posible to code in sourcemod plugin or do i have to code it in c++ or Eventscript??

PS. i have got it to work ok not fully functionaly in Eventscript, but i would like that the first text i write aint displayed, only the green text is.

please help me?

~ Qvintus
Qvintus is offline
Frus
Senior Member
Join Date: Aug 2009
Old 09-26-2009 , 10:27   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=94187
Frus is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 09-26-2009 , 13:49   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #3

Colors Library
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 09-26-2009 , 13:52   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #4

He specifically wants admins' names to appear green when they type. (As in normally, not with the @ symbol)
__________________
Jindo is offline
Frus
Senior Member
Join Date: Aug 2009
Old 09-26-2009 , 18:05   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #5

Everything he needs to know was answered in my link. Both hooking commands and changing colors.
Frus is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-27-2009 , 04:49   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #6

I have made a variation of this request at least 100 times now it seems. Just a simple edit to some code and here you go.



EDIT:

See latest post.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-27-2009 at 22:53.
Antithasys is offline
Qvintus
Junior Member
Join Date: Sep 2009
Old 09-27-2009 , 08:30   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #7

Woaw thx for the fast replays ill look into it =)

thx to Frus for the link to guide
Also thx a lot to Antithasys for the script. I will studie it and learn how you did =)

BTW: Antithasys... you plugin works fine exept that my rpg now only work so ppl have to open buy menu in RPG useing console, also it doesn't seem to only effect admins :/

Last edited by Qvintus; 09-27-2009 at 09:20. Reason: I should say thx? =)
Qvintus is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 09-27-2009 , 11:13   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #8

Quote:
Originally Posted by Antithasys View Post
I have made a variation of this request at least 100 times now it seems. Just a simple edit to some code and here you go.

Maybe you should add this to your "Simple" plugin collection as it has been requested a million times.

Might cut down on the requests as it will be in the Approved plugin section.

Just a thought.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Antithasys
Moderator
Join Date: Apr 2008
Old 09-27-2009 , 17:20   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #9

Quote:
Originally Posted by Qvintus View Post
BTW: Antithasys... you plugin works fine exept that my rpg now only work so ppl have to open buy menu in RPG useing console, also it doesn't seem to only effect admins :/
Not sure what you mean here. It's not responding to the chat trigger correctly?

Quote:
Originally Posted by Xp3r7 View Post
Maybe you should add this to your "Simple" plugin collection as it has been requested a million times.

Might cut down on the requests as it will be in the Approved plugin section.

Just a thought.
Ya, I have a version built into the Donators plugin that is under development. There is always a slight variation, like admin name green, or admin chat green, or admin chat team color. I guess I could write something that did it all.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
DeJaDeW
SourceMod Donor
Join Date: Jul 2009
Location: California
Old 09-27-2009 , 19:05   Re: Makeing Color text in sourcemod plugin?
Reply With Quote #10

Quote:
Originally Posted by Qvintus View Post
Woaw thx for the fast replays ill look into it =)

thx to Frus for the link to guide
Also thx a lot to Antithasys for the script. I will studie it and learn how you did =)

BTW: Antithasys... you plugin works fine exept that my rpg now only work so ppl have to open buy menu in RPG useing console, also it doesn't seem to only effect admins :/
He means that the color is not only for admins, all players get the color too! I tested the plugin and everybodys name is the same color.
DeJaDeW 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 01:06.


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