detecing aim.
#1

Hi,

How to detect aim?
Reply
#2

Put this on 'OnPlayerKeyStateChange':
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
     if((
newkeys KEY_HANDBRAKE) && !IsPlayerInAnyVehicle(playerid) && GetPlayerWeapon(playerid) > 0)
     {
          
//Do something
     
}
     return 
1;

EDIT: Sorry for some edits, I wasn't sure about some things.
Reply
#3

https://github.com/Kevin-Reinke/Play..._detection.pwn
Reply
#4

Sorry, i was talking about how to detect when player use auto-aim, hacks
Reply
#5

There is a include called "Bustaim". It's as close as your going to get to detecting it, without client sided plugins.

Link here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)