gta.forceWeather

From GTA Connected
Revision as of 15:37, 24 August 2019 by Mex (talk | contribs) (Mex moved page Gta.forceWeather to gta.forceWeather)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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