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