Raised This Month: $ Target: $400
 0% 

Need help with colorchat..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZooYork
Member
Join Date: Aug 2006
Location: in amxmodx forums
Old 04-07-2007 , 17:49   Need help with colorchat..
Reply With Quote #1

I tried to make plugin, but it didn't work. Whenever someone type /hello it would say Hello in chat with (Green) color.

EDIT: And when admin connect it would say "admin %s connected"
__________________
Zoo York Inst. Search! In the
amxmodx forums.

Last edited by ZooYork; 04-07-2007 at 18:01.
ZooYork is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 04-07-2007 , 18:06   Re: Need help with colorchat..
Reply With Quote #2

And what is the question?..0o
__________________
regalis is offline
ZooYork
Member
Join Date: Aug 2006
Location: in amxmodx forums
Old 04-07-2007 , 18:49   Re: Need help with colorchat..
Reply With Quote #3

Quote:
Originally Posted by regalis View Post
And what is the question?..0o
Isnt it obvious, i couldnt do it i need help with this.
__________________
Zoo York Inst. Search! In the
amxmodx forums.
ZooYork is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 04-07-2007 , 20:23   Re: Need help with colorchat..
Reply With Quote #4

this might help you
http://forums.alliedmods.net/showthread.php?p=83344
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
ZooYork
Member
Join Date: Aug 2006
Location: in amxmodx forums
Old 04-08-2007 , 06:00   Re: Need help with colorchat..
Reply With Quote #5

Quote:
Originally Posted by Nican View Post
I guess, i cant just make it.
__________________
Zoo York Inst. Search! In the
amxmodx forums.
ZooYork is offline
Ryu2877
Member
Join Date: Sep 2006
Location: China
Old 04-08-2007 , 07:14   Re: Need help with colorchat..
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=45753
maybe...
Ryu2877 is offline
ZooYork
Member
Join Date: Aug 2006
Location: in amxmodx forums
Old 04-08-2007 , 07:27   Re: Need help with colorchat..
Reply With Quote #7

Quote:
Originally Posted by Ryu2877 View Post
I used that already, but it didnt work and i deleted the script.
__________________
Zoo York Inst. Search! In the
amxmodx forums.
ZooYork is offline
|POW|Da_ghost
Senior Member
Join Date: Nov 2006
Location: http://snarkcafe.net
Old 04-08-2007 , 07:40   Re: Need help with colorchat..
Reply With Quote #8

If you know the basics of scripting...
Try a ADMIN_SLAY(eg if ((get_user_flags(id) & ADMIN_SLAY)) ) check on client_putinserver(id) and get the name of the index(player) and client_print(0,print_chat,"Admin %s connected",thestringnameyouusedforname)
For the /hello try to capture say and read_args(chatmsg,12
remove_quotes(chatmsg)
if(containi(chatmsg, "/hello") == 0){ and use clientprint again(shit forgot about the color il get that later.).
This might be a bit unclear .If you do not understand this IL get you a scripting example later since I'm not on my main pc(and don't have amxxstudio installed).
EDIT: Sigh I forgot how to do colorcodes again(I don't use them)
__________________
If you want me to help you with something please contact me on msn or xfire(Daghost1337)

Last edited by |POW|Da_ghost; 04-08-2007 at 07:44.
|POW|Da_ghost is offline
Send a message via AIM to |POW|Da_ghost Send a message via MSN to |POW|Da_ghost
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 06:34.


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