The Lab
ENTITY native

SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS

returns void2 paramsbuild 1207

Sets whether the entity can be targeted without line of sight.

Signature

C
void SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS(Entity entity, BOOL toggle); // 0x6D09F32E284D0FB7 b1207

Parameters

#NameType
1entityEntity
2toggleBOOL

Facts

Facts about SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
Name
SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
Hash
0x6D09F32E284D0FB7
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x6D09F32E284D0FB7, -- SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
  PlayerPedId(), -- Entity entity
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x6D09F32E284D0FB7", // SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
  PlayerPedId(), // Entity entity
  false // BOOL toggle
);
C#
Function.Call((Hash)0x6D09F32E284D0FB7, // SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
  API.PlayerPedId(), // Entity entity
  false // BOOL toggle
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.