Player::getEntityIsFreeAimingAtRaw: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 April 2024

  • curprev 09:0609:06, 23 April 2024Shr0x talk contribs 578 bytes +578 Created page with "{{JSContainer| ==Syntax== <syntaxhighlight lang="javascript">mp.game.player.getEntityIsFreeAimingAtRaw();</syntaxhighlight> ===Return value=== *'''handle or undefined''' ==Example== <syntaxhighlight lang="javascript"> const targetEntity = mp.game.player.getEntityIsFreeAimingAtRaw(); if (targetEntity) { const ped = mp.peds.atHandle(targetEntity); if (ped && mp.peds.exists(ped)) { mp.gui.chat.push(`You are aiming at ped id ${ped.id}`); } } </syntaxhi..."