FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: MISCAPI set: clientGame: gta5editImprove

SET_WEATHER_TYPE_NOW

0x29B487C359E19889
0x361E9EAC
// SetWeatherTypeNow
void SET_WEATHER_TYPE_NOW(char* weatherType);
Parameters:
  • weatherType:

    The weather type to set. This should be one of the predefined weather type strings.

Immediately changes the game's weather to the specified type, which will then persist for one cycle before the game resumes its natural weather progression.

Note: This native is not supported in networked sessions. Please refer to SET_OVERRIDE_WEATHER or SET_WEATHER_TYPE_NOW_PERSIST if you want to override weather in networked sessions.

NativeDB Introduced: v323

Weather Types:

  • CLEAR
  • EXTRASUNNY
  • CLOUDS
  • OVERCAST
  • RAIN
  • CLEARING
  • THUNDER
  • SMOG
  • FOGGY
  • XMAS
  • SNOW
  • SNOWLIGHT
  • BLIZZARD
  • HALLOWEEN
  • NEUTRAL
  • RAIN_HALLOWEEN
  • SNOW_HALLOWEEN
Privacy
•
Cookie Policy
•
Cookie Settings
0xC0ED6438E6D39BA8(Any p0, Any p1, Any p2)
0xC361AA040D6637A8(Vehicle vehicle, BOOL p1)
0xC4B3347BD68BD609(Any p0)
0xC50CE861B55EAB8B(Vehicle vehicle, BOOL p1)
0xCF9159024555488C(Any p0)
0xCFD778E7904C255E(Vehicle vehicle)
0xD3301660A57C9272(Any p0)
0xD3E51C0AB8C26EEE(Any p0, Any p1)
0xD4196117AF7BB974(Any p0, Any p1)
0xD565F438137F0E10(Any p0, Any p1)
0xDBC631F109350B8C(Vehicle vehicle, BOOL p1)
0xDCE97BDF8A0EABC8()
0xE05DD0E9707003A3(Any p0, BOOL p1)
0xE2F53F172B45EDE1()
0xE5810AC70602F2F5(Vehicle vehicle, float p1)
0xE851E480B814D4BA(Vehicle vehicle, BOOL p1)
0xE8718FAF591FD224(Vehicle vehicle)
0xED5EDE9E676643C9(Any p0, Any p1)
0xEF9D388F8D377F44(Vehicle vehicle, BOOL p1)
0xF051D9BFB6BA39C0(Any p0)
0xF25E02CB9C5818F8()
0xF3B0E0AED097A3F5(Any p0, Any p1)
0xF8B49F5BA7F850E7(Vehicle vehicle, int p1)
0xFAF2A78061FD9EF4(Any p0, float p1, float p2, float p3)
Namespace: WATER
ADD_EXTRA_CALMING_QUAD(float xLow, float yLow, float xHigh, float yHigh, float height)
GET_DEEP_OCEAN_SCALER()
GET_WATER_HEIGHT(float x, float y, float z, float* height)
GET_WATER_HEIGHT_NO_WAVES(float x, float y, float z, float* height)
MODIFY_WATER(float x, float y, float height, float radius)
_REMOVE_CURRENT_RISE(int p0)
RESET_DEEP_OCEAN_SCALER()
SET_DEEP_OCEAN_SCALER(float intensity)
TEST_PROBE_AGAINST_ALL_WATER(float x1, float y1, float z1, float x2, float y2, float z2, int flag, Vector3* result)
TEST_PROBE_AGAINST_WATER(float x1, float y1, float z1, float x2, float y2, float z2, Vector3* result)