RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_WEATHER_CYCLE_ENTRY

SET_WEATHER_CYCLE_ENTRY

CFX

Signature

lua
SetWeatherCycleEntry(0, typeName, 0)
-- returns BOOL

Parameters

NameTypeDescription
intThe index of the entry to set. Must be between 0 and 255
char*The name of the weather type for this cycle
intThe 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

On this page

  • Signature
  • Parameters
  • Usage
  • Details