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

_SET_RAIN_LEVEL

0x643E26EA6E024D92
// SetRainLevel
void _SET_RAIN_LEVEL(float level);
Parameters:
  • level:

    Strength of rain effects

Controls rain, rain sounds and the creation of puddles.

With an level higher than 0.5f, only the creation of puddles gets faster, rain and rain sound won't increase after that.

With an level of 0.0f rain and rain sounds are disabled and there won't be any new puddles.

To use the rain level of the current weather, call this native with -1f as level.

Old name: _SET_RAIN_FX_INTENSITY

Privacy
•
Cookie Policy
•
Cookie Settings
SET_DISPATCH_IDEAL_SPAWN_DISTANCE(float p0)
SET_DISPATCH_SPAWN_LOCATION(float x, float y, float z)
SET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS(Any p0, float p1)
SET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS_MULTIPLIER(Any p0, float p1)
SET_EXPLOSIVE_AMMO_THIS_FRAME(Player player)
SET_EXPLOSIVE_MELEE_THIS_FRAME(Player player)
SET_FADE_IN_AFTER_DEATH_ARREST(BOOL toggle)
SET_FADE_IN_AFTER_LOAD(BOOL toggle)
SET_FADE_OUT_AFTER_ARREST(BOOL toggle)
SET_FADE_OUT_AFTER_DEATH(BOOL toggle)
SET_FAKE_WANTED_LEVEL(int fakeWantedLevel)
SET_FIRE_AMMO_THIS_FRAME(Player player)
_SET_FORCE_PLAYER_TO_JUMP(Player player)
SET_GAME_PAUSED(BOOL toggle)
SET_GRAVITY_LEVEL(int level)
SET_INCIDENT_REQUESTED_UNITS(int incidentId, int dispatchService, int numUnits)
_SET_INCIDENT_UNK(int incidentId, float p1)
SET_INSTANCE_PRIORITY_HINT(int flag)
SET_INSTANCE_PRIORITY_MODE(int toggle)
SET_MINIGAME_IN_PROGRESS(BOOL toggle)
SET_MISSION_FLAG(BOOL toggle)
SET_OVERRIDE_WEATHER(char* weatherType)
_SET_PLAYER_IS_IN_ANIMAL_FORM(BOOL toggle)
_SET_PLAYER_ROCKSTAR_EDITOR_DISABLED(BOOL toggle)
_SET_RAIN_LEVEL(float level)
SET_RANDOM_EVENT_FLAG(BOOL toggle)
SET_RANDOM_SEED(int seed)
SET_RANDOM_WEATHER_TYPE()
_SET_RESTART_CUSTOM_POSITION(float x, float y, float z, float heading)
SET_RIOT_MODE_ENABLED(BOOL toggle)
SET_SAVE_HOUSE(Any p0, BOOL p1, BOOL p2)
SET_SAVE_MENU_ACTIVE(BOOL ignoreVehicle)
_SET_SNOW_LEVEL(float level)
SET_STUNT_JUMPS_CAN_TRIGGER(BOOL toggle)
SET_SUPER_JUMP_THIS_FRAME(Player player)