Raised This Month: $32 Target: $400
 8% 

[CSS] Force player to +jump or +attack & connect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BAILANDO
Senior Member
Join Date: Feb 2015
Location: Slovakia
Old 03-30-2015 , 13:48   [CSS] Force player to +jump or +attack & connect
Reply With Quote #1

Hello guys, i need help with a code. I'm already making a plugin for my server and i need a code where can i make player to force +attack or +jump(will be helpfully for checking, if player have scripts).

Bye and thanks for help

Last edited by BAILANDO; 03-30-2015 at 14:26.
BAILANDO is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 03-30-2015 , 14:38   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #2

Code:
public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon, int &subtype, int &cmdnum, int &tickcount, int &seed, int mouse[2])
{
	buttons |= IN_ATTACK;
	buttons |= IN_JUMP;
}
will make all players +attack and +jump
Miu is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 03-30-2015 , 14:40   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #3

This does exactly what you need - https://forums.alliedmods.net/showthread.php?t=132773
Darkness_ is offline
BAILANDO
Senior Member
Join Date: Feb 2015
Location: Slovakia
Old 03-30-2015 , 14:51   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #4

Thanks a lot
BAILANDO is offline
BAILANDO
Senior Member
Join Date: Feb 2015
Location: Slovakia
Old 03-30-2015 , 15:35   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #5

and please, only make code for onetime force to +attack for selected client, can someone write it please? thanks a lot
BAILANDO is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 03-30-2015 , 16:01   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #6

are you trying to detect some kind of hack? because I don't think it's going to work
Miu is offline
BAILANDO
Senior Member
Join Date: Feb 2015
Location: Slovakia
Old 03-30-2015 , 16:13   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #7

yes, for example NoSpread, on glock or awp without scope player shoot into place on crosshair. Then with this i can check, when he shoot, where this player shot
BAILANDO is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-30-2015 , 18:28   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #8

Quote:
Originally Posted by BAILANDO View Post
yes, for example NoSpread, on glock or awp without scope player shoot into place on crosshair. Then with this i can check, when he shoot, where this player shot
That's not how no spread hacks work.
Mitchell is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 03-30-2015 , 19:00   Re: [CSS] Force player to +jump or +attack & connect
Reply With Quote #9

Quote:
Originally Posted by BAILANDO View Post
yes, for example NoSpread, on glock or awp without scope player shoot into place on crosshair. Then with this i can check, when he shoot, where this player shot
Don't try to make your anti-cheat just use SMAC.
Darkness_ 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 03:00.


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