Raised This Month: $ Target: $400
 0% 

Message Mode


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 12-17-2006 , 22:40   Re: Message Mode
Reply With Quote #2

I can't decipher what you are asking exactly...

If the client binds a key to "messagemode test" and pushes the key, they will see a prompt in the upper-left hand corner that says "test:". They can type whatever message they want, push enter, and it will display only to them: "You typed: "blahblahblahblah"".


If you want the client to simply bind a key to amx_test, and see the "test:" prompt in the upper-left when the key is pushed, add the following to your existing code.

Code:
register_clcmd("amx_test", "test_function") public test_function(id) {     client_cmd(id, "messagemode test") }
stupok is offline
 



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:56.


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