SET_WEATHER_CYCLE_ENTRY
CFX
Signature
lua
SetWeatherCycleEntry(0, typeName, 0)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| int | The index of the entry to set. Must be between 0 and 255 | |
| char* | The name of the weather type for this cycle | |
| int | The relative duration of this cycle, which is multiplied by `msPerCycle` during ['APPLY_WEATHER_CYCLES'](#\_0x3422291C). Must be between 1 and 255 |
Usage
lua
SetWeatherCycleEntry(0, typeName, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
