AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Detect user_slap (https://forums.alliedmods.net/showthread.php?t=62813)

draft 11-05-2007 06:56

Detect user_slap
 
Please, help me to detect when user_slap func is called (from admins console, ATAC and so on).

Styles 11-06-2007 13:56

Re: Detect user_slap
 
This would be intresting to see/read. How do you detect something like this?

draft 11-08-2007 14:26

Re: Detect user_slap
 
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)

Wilson [29th ID] 11-08-2007 18:36

Re: Detect user_slap
 
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.

Styles 11-08-2007 22:08

Re: Detect user_slap
 
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?

Alka 11-09-2007 00:29

Re: Detect user_slap
 
No ?! o.O if a user fall, then the screen will be "tweaked". Wilson solution is the best.

Wilson [29th ID] 11-09-2007 10:46

Re: Detect user_slap
 
Oh yeah, you could check his pev_punchangle and see if it's anything abnormal.

draft 11-10-2007 12:42

Re: Detect user_slap
 
Quote:

Originally Posted by Wilson [29th ID] (Post 550934)
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?

Alka 11-10-2007 13:21

Re: Detect user_slap
 
http://forums.alliedmods.net/showthr...hlight=forward


All times are GMT -4. The time now is 01:14.

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