Перейти к содержанию

Player::getEntityIsFreeAimingAtRaw

Материал из RAGE MP Wiki Archive
Версия от 09:06, 23 апреля 2024; imported>Shr0x (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...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)


See also