Skip to main content

World::weather

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

This property gets/sets game weather.

Getter​

  • String - Weather ID

Setter​

  • String - Weather ID

Example​

var weather = mp.world.weather; // GETTER

mp.world.weather = 'CLEAR'; // SETTER

References​