← Скрипты и библиотеки
itsneufox/open.mp-trains-NPC
Example Filterscript for Train NPC System using open.mp NPC component
Фильтрскрипт★ 3обновлён нояб. 2025 г.Без лицензииPawn
Открыть на GitHubВ этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.
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
- Add to
config.json:"pawn": { "side_scripts": ["npc_trains"] } - Start server
Configuration
Edit npc_trains.pwn:
#define TRAIN_DEBUG false // Enable debug logs
#define ENABLE_NPC_MARKER false // Show NPC markers on map
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью