The Lab
MISC native

SET_WIND_DIRECTION

returns void1 parambuild 1207

Sets the wind direction to direction.

Signature

C
void SET_WIND_DIRECTION(float direction); // 0xB56C4F5F57A45600 b1207

Parameters

#NameType
1directionfloat

Facts

Facts about SET_WIND_DIRECTION
Name
SET_WIND_DIRECTION
Hash
0xB56C4F5F57A45600
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(0xB56C4F5F57A45600, -- SET_WIND_DIRECTION
  0.0 -- float direction
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xB56C4F5F57A45600", // SET_WIND_DIRECTION
  0.0 // float direction
);
C#
Function.Call((Hash)0xB56C4F5F57A45600, // SET_WIND_DIRECTION
  0.0f // float direction
);
All MISC natives

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