gta.forceWeather: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Gta.forceWeather to gta.forceWeather)
 
(No difference)

Latest revision as of 15:37, 24 August 2019

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

void gta.forceWeather(int weatherId)

The gta.forceWeather function is used to force the game weather to the specified weather, which happens instantly and means game weather will not change automatically.

Parameters

1) int weatherId The ID of the weather to set instantly.

Return

void This function doesn't return a value.

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.forceWeather
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.weather


Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.forceWeather
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.weather