[FilterScript] Detect Autoaim (not joypad)
#9

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Nice job!

pawn Код:
new bool:autoaim[MAX_PLAYERS]                            = {false, ...};
new checkautoaim[MAX_PLAYERS]                            = {9999, ...};
new LastTargeted[MAX_PLAYERS]                            = {-1, ...};
new pressingaimtick[MAX_PLAYERS]             = {-1, ...};
new bool:keyfire[MAX_PLAYERS]                            = {false, ...};
new bool:ispressingaimkey[MAX_PLAYERS]           = {false, ...};
new bool:CheckNextAim[MAX_PLAYERS]           = {false, ...};
However to mention, I think to set a specific value on all bits of a array it has to be like "{(value), ....}" but never mind me, that fix is optional.

Will come in handy for people thought!
done

Quote:
Originally Posted by TheGamer!
Посмотреть сообщение
Please use
pawn Код:
CallRemoteFunction("OnPlayerDetectedAutoaim", "d", playerid);
instead of

pawn Код:
OnPlayerDetectedAutoaim(playerid);
for use in another script
done


Quote:
Originally Posted by Psymetrix
Посмотреть сообщение
Auto-aim in SA:MP? Some people just don't have a life!

I just have one question. If a player is using auto-aim in a server, will the target have to be stationery or does auto-aim not work like that? I ask because 99% of the time you have to lead your target.
depends on how the server is scripted. if you use OnPlayerGiveDamage and SetPlayerHealth and SetPlayerArmour there will be no lead aim at all and it will sync properly. also it would be impossible to hack that way (or very easy to detect)

on either type of server (one that uses OnPlayerGiveDamage, and one that doesn't) the autoaim script will still work

...

yes it really works, go test it. this will detect AUTOAIM as stated in the first post
to detect if a player is using joypad use -> this
Reply


Messages In This Thread
Detect Autoaim (not joypad) - by Whitetiger - 27.12.2011, 08:47
Re: Detect Autoaim (not joypad) - by Lorenc_ - 27.12.2011, 10:07
Re: Detect Autoaim (not joypad) - by FireCat - 27.12.2011, 10:09
Re: Detect Autoaim (not joypad) - by SpiderWalk - 27.12.2011, 10:37
AW: Detect Autoaim (not joypad) - by asdfgh98 - 27.12.2011, 13:59
Re: Detect Autoaim (not joypad) - by CyNiC - 27.12.2011, 14:38
Re: Detect Autoaim (not joypad) - by xinix000 - 27.12.2011, 17:19
Re: Detect Autoaim (not joypad) - by Psymetrix - 27.12.2011, 17:51
Re: Detect Autoaim (not joypad) - by Whitetiger - 27.12.2011, 23:50
Re: Detect Autoaim (not joypad) - by changeME - 13.01.2013, 02:19

Forum Jump:


Users browsing this thread: 1 Guest(s)