ns-teleport â
Cross-framework RedM teleport menu via ns-lib. Players walk up to a stagecoach NPC, press G, pick a destination, optionally pay a fee, and travel with a cinematic fade.
UI is themed in the Frontier Outlaw RDR2 style: parchment + wood + signature red, sharp shapes, Newsreader headlines.
Features â
- VORP / RSG-Core / RedEM:RP / ESX / QBCore â auto-detected through ns-lib
- One NPC + map blip per configured hub
- Auto interior detection â players land on the floor, not the roof
- Dismount required â riders can't TP while in a vehicle or on a horse
- Optional charge per hub, configurable cash/bank source
- One unified
Config.Hubstable â the same coord drives the NPC stand point and the teleport arrival; no separate "NPC here, TP there" split
Requirements â
- ns-lib (mandatory â provides framework adapters, money API, base teleport)
- One of the supported frameworks: VORP, RSG-Core, RedEM:RP, ESX, QBCore
Installation â
- Make sure
ns-libis installed andensured. - Drop this folder into
resources/ns-teleport/. - Add to
server.cfgafterns-lib:ensure ns-lib ensure ns-teleport - Edit
config.luaâ editHubs, tuneCost. - (Optional) Drop your Newsreader & Noto Serif
.woff2files intohtml/fonts/. Without them the menu falls back to Georgia gracefully.
Hubs â
Each entry in Config.Hubs is one coord, two roles â the NPC stands there and the teleport arrival lands there. Required fields: id, label, coord. Optional: region, category, price, image, blipLabel, and any of the NpcDefaults overrides (model, scenario, interactDist, interactKey, blipSprite).
{
id = 'valentine',
label = 'Valentine',
region = 'The Heartlands',
category = 'town', -- drives the footer icon
coord = vector4(-314.78, 784.45, 117.46, 90.0),
price = 50,
image = 'images/valentine.jpg',
blipLabel = 'Valentine Stagecoach',
},category values: town, city, outpost, wilderness, ranch, mountain, camp.
Usage â
Walk up to any configured hub NPC. A prompt appears â press G (default) to open the menu, click a destination card to teleport. The player must be on foot; mounted or seated players see a dismount-required notice instead.
License â
Private â Native Scripts internal use.
