Raised This Month: $ Target: $400
 0% 

Tsay withou specifying colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rafael
Member
Join Date: Dec 2007
Location: localhost
Old 05-29-2008 , 00:14   Tsay withou specifying colors
Reply With Quote #1

Is there any way (modifying a plugin, anything) to use amx_tsay without the need to specify the white color? I can't bind something like this:

bind "key" "messagemode amx_tsay white" because it don't works in counter-strike (due to the space between amx_tsay and the word white).

Anyone know how to bind this correctly?

I know it may look dumb to some people but... who knows everything?

Thanks a lot
__________________

Last edited by Rafael; 05-29-2008 at 00:17.
Rafael is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 05-29-2008 , 20:48   Re: Tsay withou specifying colors
Reply With Quote #2

Press y (for normal say) and prefix your message with '@ '. You can still specify different colours by using the first letter of the colour instead of the space.
Lee is offline
Rafael
Member
Join Date: Dec 2007
Location: localhost
Old 05-29-2008 , 22:09   Re: Tsay withou specifying colors
Reply With Quote #3

Thanks a lot!
__________________
Rafael is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 05-30-2008 , 00:06   Re: Tsay withou specifying colors
Reply With Quote #4

In the adminchat.sma, change this:
Code:
 
public cmdTsay(id, level, cid)
{
    if (!cmd_access(id, level, cid, 3))
to:
Code:
 
public cmdTsay(id, level, cid)
{
    if (!cmd_access(id, level, cid, 2))
I suggested changing this (see THIS THREAD) a long time ago. But it was never implemented. That thread addressed exactly what you're talking about.
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 05-30-2008 at 00:14.
Vet is offline
Send a message via MSN to Vet
CubanSpike
Member
Join Date: Mar 2008
Old 05-30-2008 , 09:45   Re: Tsay withou specifying colors
Reply With Quote #5

Good deal. Just updated mine too.

Thanks!
CubanSpike is offline
Rafael
Member
Join Date: Dec 2007
Location: localhost
Old 06-02-2008 , 00:53   Re: Tsay withou specifying colors
Reply With Quote #6

This is just what I was looking for. The tsay using @ (clanmod style) is good, but doing this will make things even easier.

Thanks to Vet and Lee for the answers... I'll update the plugin as soon as I can use my pc again (house painting).

Rafael
__________________
Rafael 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 19:08.


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