Raised This Month: $ Target: $400
 0% 

Detect user_slap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 11-05-2007 , 06:56   Detect user_slap
Reply With Quote #1

Please, help me to detect when user_slap func is called (from admins console, ATAC and so on).
draft is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-06-2007 , 13:56   Re: Detect user_slap
Reply With Quote #2

This would be intresting to see/read. How do you detect something like this?
Styles is offline
Send a message via AIM to Styles
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 11-08-2007 , 14:26   Re: Detect user_slap
Reply With Quote #3

Ok, i have working anti_speedhack plugin that makes checks every 0.7 of second but i don't know how to stop it when [ATAC] or admin is using multiply slaps because they are suspended as speedhack and user gets banned (immunity from transferring player to prison i've already added)
draft is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 11-08-2007 , 18:36   Re: Detect user_slap
Reply With Quote #4

You can edit the admin plugin that provides the code for a slap and create a forward there that can be used in other plugins. There's a tutorial in the tutorials forum on this.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-08-2007 , 22:08   Re: Detect user_slap
Reply With Quote #5

well yes.. you could do this. LoL, there should be something like a traceline then check there screen too if its "tweaked" Woudln't that work?
Styles is offline
Send a message via AIM to Styles
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-09-2007 , 00:29   Re: Detect user_slap
Reply With Quote #6

No ?! o.O if a user fall, then the screen will be "tweaked". Wilson solution is the best.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 11-09-2007 , 10:46   Re: Detect user_slap
Reply With Quote #7

Oh yeah, you could check his pev_punchangle and see if it's anything abnormal.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 11-10-2007 , 12:42   Re: Detect user_slap
Reply With Quote #8

Quote:
Originally Posted by Wilson [29th ID] View Post
You can edit the admin plugin that provides the code for a slap and create a forward there that can be used in other plugins. There's a tutorial in the tutorials forum on this.
Please, give a link how to do it. Or just help here. Should I use "CreateMultiForward" in other plugin-func and then register it in my?
__________________
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-10-2007 , 13:21   Re: Detect user_slap
Reply With Quote #9

http://forums.alliedmods.net/showthr...hlight=forward
__________________
Still...lovin' . Connor noob! Hello
Alka 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 04:10.


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