samp.directory
← Scripts y librerías

wg1337/omp-gta-weather

Recreation of GTA:SA weather cycles in open.mp

Librería★ 3actualizado oct 2026UnlicensePawnsampctl
Abrir en GitHub

Instalar con sampctl

sampctl package install wg1337/omp-gta-weather

Ejecútalo en la carpeta de tu proyecto. sampctl descarga el paquete y sus dependencias.

Probar en el compilador de Pawn →

Añade sus archivos include, con las librerías de las que depende, al compilador de Pawn de tu navegador, listos para incluirlos en un script.

README.md

What is it?

A simple include that provides the weather cycles and weather regions extracted from "gta-reversed". Using this include you can recreate singleplayer-like weather inside open.mp. Note that weather cycle interpolation is done on the client side.

How to use it

Check weather.pwn

How it works?

GTA:SA does not randomly select a weather, but rather follows a strict cycle in specific regions and advances the weather when the hour changes. This include uses the same logic, but applies the weather per-player and updates it whenever either the hour changes or the player has entered a different weather region. This include requires a mechanism that can advance the weather, the given example with weather.pwn recreates the singleplayer's clock advancement along with weather cycle advancement.

Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

wg1337/omp-gta-weather: Librería de SA-MP | samp.directory