samp.directory
← Skripte und Bibliotheken

wg1337/omp-gta-weather

Recreation of GTA:SA weather cycles in open.mp

Bibliothek★ 3aktualisiert Okt. 2026UnlicensePawnsampctl
Auf GitHub öffnen

Mit sampctl installieren

sampctl package install wg1337/omp-gta-weather

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

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.

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

wg1337/omp-gta-weather: SA-MP Bibliothek | samp.directory