Detect writing
Is it possible to detect if somebody is writing (messagemode). I tried with get_user_info but it didn't work. :cry: +Karma and :crab: for who helps me
|
Re: Detect writing
PHP Code:
|
Re: Detect writing
Quote:
Am I right? |
Re: Detect writing
Heh i didn't think of that :P Thank you very much!!! I'm new to scripting and ideas are usually absent. I'll give you +Karma as I promised :D
Edit1: @Dores: Yes you're right! He will be in the middle of writing if he presses Y or U (messagemode) and he will leave messagemode after pressing Enter or Escape. I think I'll handle it from here... |
Re: Detect writing
Quote:
|
Re: Detect writing
SnoW, you are correct. You cannot detect WHEN a user is writing something.
The only way to do something close to that is hook when a player has typed something with handleSay, as listed above. |
Re: Detect writing
lol, no. You can detect when a user is writing. I'll try to find the link, but it's not a perfect method.
Found it: http://forums.alliedmods.net/showthr...highlight=chat |
Re: Detect writing
Quote:
|
Re: Detect writing
Just keep in mind that this is not necessarily reliable, there are people who have messagemode bound to other keys. Also, if this even works after Valve's updates, it is not especially good style to rebind people's buttons without asking them.
Greetings, PM |
Re: Detect writing
u can 4get it. i know what he wannt. he want to make a plugin when player is writing, a sprite willbe showed over player... ( i hope im right & could help )
|
| All times are GMT -4. The time now is 01:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.