SET_VEHICLE_CAN_BE_TARGETTED
Hash
0x05254BA0B44ADC16Runtime name
SetVehicleCanBeTargettedNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3750146A28097A82Signature
void SET_VEHICLE_CAN_BE_TARGETTED(Vehicle vehicle, BOOL state);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
state | BOOL | — |
Returns void
Usage
SetVehicleCanBeTargetted(vehicle, state)
-- always works, by hash
Citizen.InvokeNative(0x05254BA0B44ADC16, vehicle, state)JavaScript and C#
SetVehicleCanBeTargetted(vehicle, state);
// by hash
Citizen.invokeNative('0x05254BA0B44ADC16', vehicle, state);Function.Call((Hash)0x05254BA0B44ADC16, vehicle, state);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.