natives.isPlayerFreeAimingAtChar
Jump to navigation
Jump to search
natives.isPlayerFreeAimingAtChar
Signature: bool True if the player is free-aiming at the ped, false otherwise natives.isPlayerFreeAimingAtChar(int playerId, int ped)
Usage: Returns whether the specified player is free-aiming at the given ped (without hard lock-on).
Parameters
- int playerId The local or network player ID
- int ped The ped handle to check against
Return
bool True if the player is free-aiming at the ped, false otherwise
On failure: bool False on failure or when not aiming