Raised This Month: $ Target: $400
 0% 

Anti silent-run (only wheel mouse)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kondisz
New Member
Join Date: May 2010
Old 05-06-2010 , 08:20   Anti silent-run (only wheel mouse)
Reply With Quote #1

Hi, I want to create a plugin that will slap or kick (another penalty) the player who has a use +duck in mwheeldown or mwheelup and a reference to +duck in an alias.

I found this topic:
https://forums.alliedmods.net/showth...highlight=duck

Unfortunately, it is an option for any silent-run.
I want ctrl +duck it, or another key (without scroll) was allowed for the silent-run.

I have an idea to check bind (mwheeldown and mwheelup) and compare to +duck, if the result is positive, use a penalty, but I do not know how to do it.

But

Please help.

Last edited by kondisz; 05-06-2010 at 08:30.
kondisz is offline
slpknt
Senior Member
Join Date: Dec 2007
Location: Russia
Old 05-06-2010 , 08:30   Re: Anti silent-run (only wheel mouse)
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=125483
http://forums.alliedmods.net/showthread.php?t=86737
__________________
play hard go pr0
dmg / slipknot!

Last edited by slpknt; 05-06-2010 at 08:36.
slpknt is offline
Send a message via ICQ to slpknt
kondisz
New Member
Join Date: May 2010
Old 05-06-2010 , 09:32   Re: Anti silent-run (only wheel mouse)
Reply With Quote #3

Plugin in the first link is not working properly, the player stops and displays each command from the ini file. when used with any key.

Plugin in the second link is not working properly, player stops when click few times ctrl (+duck) i want plugin only for +duck on MHEEL*UP/DOWN

Last edited by kondisz; 05-06-2010 at 09:39.
kondisz is offline
slpknt
Senior Member
Join Date: Dec 2007
Location: Russia
Old 05-06-2010 , 09:58   Re: Anti silent-run (only wheel mouse)
Reply With Quote #4

read what skilled scripters say:
Quote:
amx cannot detect what is bound to wmheel
__________________
play hard go pr0
dmg / slipknot!
slpknt is offline
Send a message via ICQ to slpknt
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-07-2010 , 00:29   Re: Anti silent-run (only wheel mouse)
Reply With Quote #5

Quote:
Originally Posted by kondisz View Post
Plugin in the first link is not working properly, the player stops and displays each command from the ini file. when used with any key.
You have to complete by yourself the .ini file with all commands you want to allow on mwheels.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kondisz
New Member
Join Date: May 2010
Old 05-07-2010 , 08:27   Re: Anti silent-run (only wheel mouse)
Reply With Quote #6

It not working. I have in the file .ini but when i use some command from .ini on another key (ctrl) i have the same message when i have this command on the scroll.

Can you fix it?
kondisz 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 17:29.


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