_SET_VEHICLE_LOD_LEVEL
Ranges from -1 to 2? (internal type is int8)
Hash
0x3FA7D7D1E0EA809ERuntime name
SetVehicleLodLevelNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_VEHICLE_LOD_LEVEL(Vehicle vehicle, int lodLevel);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
lodLevel | int | — |
Returns void
Description
Ranges from -1 to 2? (internal type is int8)
https://imgur.com/a/bPzHcft
Usage
SetVehicleLodLevel(vehicle, lodLevel)
-- always works, by hash
Citizen.InvokeNative(0x3FA7D7D1E0EA809E, vehicle, lodLevel)JavaScript and C#
SetVehicleLodLevel(vehicle, lodLevel);
// by hash
Citizen.invokeNative('0x3FA7D7D1E0EA809E', vehicle, lodLevel);Function.Call((Hash)0x3FA7D7D1E0EA809E, vehicle, lodLevel);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.