AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Possible to make this? Can be hard... (https://forums.alliedmods.net/showthread.php?t=17499)

JPiolho 09-02-2005 16:12

Possible to make this? Can be hard...
 
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. :?

atomic 09-02-2005 16:18

there is already a say and say_team in amxmodx duh :)

JPiolho 09-02-2005 16:21

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.

colby 09-02-2005 16:37

Search for talkarea, there's tons.

JPiolho 09-02-2005 16:48

Found how to do it.
Its: messagemode say_whisper

Xanimos 09-02-2005 17:06

I could have told you that. But you need a plugin to go along with it

Casio 09-04-2005 18:36

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?

Hawk552 09-04-2005 20:39

I think he wants "messagemode amx_psay"... or something to that effect.

Casio 09-06-2005 15:25

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.

TotalNoobScripter 09-06-2005 23:07

heh
 
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.


All times are GMT -4. The time now is 14:35.

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