Need help with colorchat..
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" |
Re: Need help with colorchat..
And what is the question?..0o
|
Re: Need help with colorchat..
Quote:
|
Re: Need help with colorchat..
this might help you
http://forums.alliedmods.net/showthread.php?p=83344 |
Re: Need help with colorchat..
Quote:
|
Re: Need help with colorchat..
|
Re: Need help with colorchat..
Quote:
|
Re: Need help with colorchat..
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,128) 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) |
| All times are GMT -4. The time now is 06:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.