gta.forceWeather

From GTA Connected
(Redirected from Gta.forceWeather)
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

void gta.forceWeather(int weatherId)

Description

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

Type Name Presence Default Value Description
int weatherId required n/a The ID of the weather to set instantly.

Returns

Success Returns

Type Description
void This function doesn't return any values on success.

Failure Returns

Type Value
void n/a

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

gta.forceWeather
gta.weather


Client Related

forceSnowing
gta.forceWeather - Previous Name: forceWeather
gta.weather - Previous Name: weather
snowing