natives.FORCE WEATHER NOW: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 4: Line 4:
|type = function
|type = function
|name = natives.FORCE_WEATHER_NOW
|name = natives.FORCE_WEATHER_NOW
|parameters = int value
|parameters = int weatherId
|parameter1 = int value Numeric parameter.
|parameter1 = int weatherId Parameter for this function.
|usage = apply a specific weather now override.
|usage = immediately changes the weather without transition
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 09:15, 12 June 2026

natives.FORCE_WEATHER_NOW

Signature: void natives.FORCE_WEATHER_NOW(int weatherId)

Usage: immediately changes the weather without transition

Parameters

int weatherId Parameter for this function.

Return

void

On failure: void