Raised This Month: $ Target: $400
 0% 

/green Chat Message Here (Makes it green)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Run N Hide
Member
Join Date: Jul 2006
Old 04-03-2008 , 18:29   /green Chat Message Here (Makes it green)
Reply With Quote #1

I have this plugin that automatically displays chat messages based on a .ini file. I was wondering if there was a mod that makes it so if a user says /green it would make the chat color green, and if i could put /green in front of my messages in my messages.ini file to make them green.

Thanks a million
__________________
+karma if i helped you out -karma if i made a really stupid post
Run N Hide is offline
coca-cola
BANNED
Join Date: Dec 2007
Location: I got caught by Roach be
Old 04-04-2008 , 05:33   Re: /green Chat Message Here (Makes it green)
Reply With Quote #2

con_color "" "" ""
coca-cola is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-04-2008 , 11:21   Re: /green Chat Message Here (Makes it green)
Reply With Quote #3

thats for client side coca cola.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Run N Hide
Member
Join Date: Jul 2006
Old 04-04-2008 , 14:39   Re: /green Chat Message Here (Makes it green)
Reply With Quote #4

so would this work? the con_color "123" "123" "123" thing? except put in the rgb instead of just 123? or no?
__________________
+karma if i helped you out -karma if i made a really stupid post
Run N Hide is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 04-04-2008 , 15:13   Re: /green Chat Message Here (Makes it green)
Reply With Quote #5

client_cmd(id,"con_color 0 255 0")
__________________

anakin_cstrike is offline
Run N Hide
Member
Join Date: Jul 2006
Old 04-04-2008 , 15:52   Re: /green Chat Message Here (Makes it green)
Reply With Quote #6

this just makes client_cmd(id,"con_color 0 255 0") come out as part of the message example..

I want it to say

Welcome to $oF Clan Server!

but it says

client_cmd(id,"con_color 0 255 0") Welcome to $oF Clan Server!

anyway i can make this happen?
__________________
+karma if i helped you out -karma if i made a really stupid post
Run N Hide is offline
Run N Hide
Member
Join Date: Jul 2006
Old 04-05-2008 , 11:06   Re: /green Chat Message Here (Makes it green)
Reply With Quote #7

anyone know how i could do this?

i have looked at CS Color Chat Function (http://forums.alliedmods.net/showthread.php?t=45753) but its not really a plugin, its just a code snippet. i dont know how i can make it work with my plugin i have
(Auto Message Displayer [http://forums.alliedmods.net/showthread.php?t=19094])

i really want this to be green, but i cant get it to work :S any help?
__________________
+karma if i helped you out -karma if i made a really stupid post
Run N Hide is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-05-2008 , 16:03   Re: /green Chat Message Here (Makes it green)
Reply With Quote #8

I modified it to make the messages green.
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Chat_Text.sma - 779 views - 2.9 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-05-2008 , 16:39   Re: /green Chat Message Here (Makes it green)
Reply With Quote #9

or u can use this.
http://forums.alliedmods.net/showthread.php?t=27814
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 04-06-2008 , 10:55   Re: /green Chat Message Here (Makes it green)
Reply With Quote #10

You want to prin a green message ? Lol !
->
Code:
new Buffer[128]
formatex(Buffer,127,"^x04Your message")

message_beging(MSG_ONE,saytext,_,index)
write_byte(index);
write_string(Buffer);
message_end();
__________________

anakin_cstrike 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 22:48.


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