_IS_TARGET
Based on its name and signature, here is our best reading:
Appears to return true if targetPed is a target of ped.
Signature
BOOL _IS_TARGET(Ped ped, Ped targetPed); // 0x6E5CBCB3941D7D08 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | targetPed | Ped |
Facts
| Name | _IS_TARGET |
|---|---|
| Hash | 0x6E5CBCB3941D7D08 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x6E5CBCB3941D7D08, -- _IS_TARGET
PlayerPedId(), -- Ped ped
PlayerPedId() -- Ped targetPed
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x6E5CBCB3941D7D08", // _IS_TARGET
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped targetPed
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x6E5CBCB3941D7D08, // _IS_TARGET
API.PlayerPedId(), // Ped ped
API.PlayerPedId() // Ped targetPed
);Related PED natives
- _IS_PED_TARGET_ACTION_DISABLE_FLAG_ENABLED
- IS_TARGET_PED_IN_PERCEPTION_AREA
- _IS_TEXTURE_VALID
- _IS_THIS_MODEL_A_HORSE
- _IS_TRACKED_PED_VISIBILITY_PERCENTAGE_NOT_LESS_THAN
- _IS_ANIMAL_CONTROLLED_BY_A_PLAYER
- _IS_ANIMAL_INTERACTION_RUNNING
- _IS_ANIMAL_SKINNED
- _IS_META_PED_ASSET_VALID
- _IS_META_PED_FISH
- _IS_META_PED_OUTFIT_EQUIPPED
- _IS_META_PED_OUTFIT_REQUEST_VALID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.