Raised This Month: $ Target: $400
 0% 

Capturing "Messagemode"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thebobjones34
Member
Join Date: Oct 2006
Old 08-24-2007 , 13:57   Capturing "Messagemode"
Reply With Quote #1

How would i capture when the client uses messagemode useing fakemeta?

So far i got this ....
Code:
public plugin_init() {     register_forward(FM_PlayerPreThink,"hook_PreThink") } public hook_PreThink(id) {     // what do i do here just to KNOW whether or now he used messagemode. }
__________________
thebobjones34 is offline
Send a message via AIM to thebobjones34
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-24-2007 , 14:10   Re: Capturing "Messagemode"
Reply With Quote #2

Can't it be hooked with register_clcmd?

And what does messagemode do?Never heard of it before

Last edited by danielkza; 08-24-2007 at 14:16.
danielkza is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-24-2007 , 14:13   Re: Capturing "Messagemode"
Reply With Quote #3

please remove,accidental double post

Last edited by danielkza; 08-24-2007 at 14:15.
danielkza is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-24-2007 , 14:39   Re: Capturing "Messagemode"
Reply With Quote #4

You cannot hook the messagemodes.

danielkza, messagemode is the command to let you type text in game.
hlstriker is offline
thebobjones34
Member
Join Date: Oct 2006
Old 08-24-2007 , 15:12   Re: Capturing "Messagemode"
Reply With Quote #5

I dont really need to "hook it" or do anything with it, i just wanna know when they are typing.
like such...
Code:
if(is_user_typing(id)) {        g_Typing[id] = 1 }
__________________
thebobjones34 is offline
Send a message via AIM to thebobjones34
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-24-2007 , 15:26   Re: Capturing "Messagemode"
Reply With Quote #6

You can't do it like that.
hlstriker 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 12:23.


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