samp.directory
← Skrypty i biblioteki

itsneufox/open.mp-trains-NPC

Example Filterscript for Train NPC System using open.mp NPC component

Filterscript★ 3zaktualizowano lis 2025Brak licencjiPawn
Otwórz na GitHubie

To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.

README.md

open.mp Train NPC System

Example filterscript showing 5 automated train NPCs driving in continuous loops across San Andreas.

Made by itsneufox for open.mp

What it does

5 trains follow a circular route through all major cities: Unity (LS) → Market (LS) → Cranberry (SF) → Yellow Bell (LV) → Linden (LV) → Unity (LS)

Requirements

  • open.mp server with NPC component
  • Recording files in npcmodes/recordings/ (included)

Installation

  1. Add to config.json:
    "pawn": {
         "side_scripts": ["npc_trains"]
    }
    
  2. Start server

Configuration

Edit npc_trains.pwn:

#define TRAIN_DEBUG false          // Enable debug logs
#define ENABLE_NPC_MARKER false    // Show NPC markers on map

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

itsneufox/open.mp-trains-NPC: Filterscript SA-MP | samp.directory