Raised This Month: $ Target: $400
 0% 

Possible to make this? Can be hard...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JPiolho
Member
Join Date: Dec 2004
Location: Portugal
Old 09-02-2005 , 16:12   Possible to make this? Can be hard...
Reply With Quote #1

I searched but I found nothing so I think there is no posts for this question. Is possible to make a command like "say" and "say_team"? For example I want like this: "Whisper: (Text here)" you press enter and done.
__________________
JPiolho is offline
Send a message via MSN to JPiolho
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 09-02-2005 , 16:18  
Reply With Quote #2

there is already a say and say_team in amxmodx duh
__________________
atomic is offline
JPiolho
Member
Join Date: Dec 2004
Location: Portugal
Old 09-02-2005 , 16:21  
Reply With Quote #3

yes I know but what I want to do its a new command. For example: "say_whisper" which will apper like "say" and "say_team" but with the text modified in the input line.
__________________
JPiolho is offline
Send a message via MSN to JPiolho
colby
Senior Member
Join Date: Jun 2005
Location: NC
Old 09-02-2005 , 16:37  
Reply With Quote #4

Search for talkarea, there's tons.
colby is offline
Send a message via AIM to colby
JPiolho
Member
Join Date: Dec 2004
Location: Portugal
Old 09-02-2005 , 16:48  
Reply With Quote #5

Found how to do it.
Its: messagemode say_whisper
__________________
JPiolho is offline
Send a message via MSN to JPiolho
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-02-2005 , 17:06  
Reply With Quote #6

I could have told you that. But you need a plugin to go along with it
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Casio
Member
Join Date: Jan 2005
Old 09-04-2005 , 18:36  
Reply With Quote #7

Just make a copy of the "amx_say" method from AdminChat.sma and change this line:

Code:
client_print(0,print_chat,"(ALL) %s :   %s",name,message)
to:

Code:
client_print(0,print_chat,"(ALL) %s",message)
and ofcourse change the "ADMIN_CHAT" to "0" in this line:

Code:
register_concmd("amx_say2","cmdSay",ADMIN_CHAT,"<message> - sends message to all players")
After a compile then anyone in your server can use "amx_say2" to talk without displaying their name.

By the way, where does your chat for "messagemode say_whisper" appear?
Casio is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-04-2005 , 20:39  
Reply With Quote #8

I think he wants "messagemode amx_psay"... or something to that effect.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Casio
Member
Join Date: Jan 2005
Old 09-06-2005 , 15:25  
Reply With Quote #9

I know of a hook/hack that allow private communication between 2 people using that hook/hack and I presume it was using a Halflife command but I never found out, hmm.
Casio is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 09-06-2005 , 23:07   heh
Reply With Quote #10

There are hl hacks that hook to an irc server, and create channels for 2 people that want to talk to eachother if thats what u mean.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
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 14:35.


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