SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
Sets whether the entity can be targeted without being in line-of-sight.
Hash
0x6D09F32E284D0FB7Runtime name
SetEntityCanBeTargetedWithoutLosNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD3997889736FD899Signature
void SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS(Entity entity, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Description
Sets whether the entity can be targeted without being in line-of-sight.
Usage
SetEntityCanBeTargetedWithoutLos(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0x6D09F32E284D0FB7, entity, toggle)JavaScript and C#
SetEntityCanBeTargetedWithoutLos(entity, toggle);
// by hash
Citizen.invokeNative('0x6D09F32E284D0FB7', entity, toggle);Function.Call((Hash)0x6D09F32E284D0FB7, entity, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.