_SET_CLOUD_LAYER
Based on its name and signature, here is our best reading:
Sets cloud layer parameters.
Signature
void _SET_CLOUD_LAYER(float x, float y, int p2); // 0xB8C984C0D47F4F07 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | p2 | int |
Facts
| Name | _SET_CLOUD_LAYER |
|---|---|
| Hash | 0xB8C984C0D47F4F07 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xB8C984C0D47F4F07, -- _SET_CLOUD_LAYER
0.0, -- float x
0.0, -- float y
0 -- int p2
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xB8C984C0D47F4F07", // _SET_CLOUD_LAYER
0.0, // float x
0.0, // float y
0 // int p2
);Function.Call((Hash)0xB8C984C0D47F4F07, // _SET_CLOUD_LAYER
0.0f, // float x
0.0f, // float y
0 // int p2
);Related GRAPHICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.