Skip to content

๐ŸŒด FX-GUARMATP โ€‹

Advanced Guarma teleport system for RedM with NPC interaction, travel system, pricing, and full framework compatibility.


๐Ÿ“ฆ INSTALLATION โ€‹

bash
ensure fx-guarmatp

โ€ข Place the script inside resources/fx-guarmatp โ€ข Add ensure fx-guarmatp to your server.cfg โ€ข Restart your server


โš™๏ธ BASIC CONFIG โ€‹

lua
Config.Language = "en"

โ€ข Defines system language โ€ข Used for all notifications and UI


๐ŸŽฎ PROMPT SYSTEM โ€‹

lua
Config.Prompts = {
	["teleport"] = {
	    Label = "Boat Ticket Vendor",
        distance = 3.0,
	    Keys = {
            [1] = {
                Key = 0xC7B5340A,
                Label = "OPEN MENU",
                HoldTime = 500
            },
	    }
	},
}

โ€ข Defines interaction prompt โ€ข distance โ†’ interaction range โ€ข Key โ†’ interaction key โ€ข HoldTime โ†’ hold duration


๐Ÿ‘ฎ ADMIN COMMANDS โ€‹

lua
Config.AdminCommands = {
    {
        command = "tpguarma",
    },
    {
        command = "exitguarma",
    }
}

โ€ข Admin teleport system โ€ข tpguarma โ†’ teleport player to Guarma โ€ข exitguarma โ†’ return player โ€ข Supports target player ID


๐ŸŒด GUARMA LOCATIONS โ€‹

lua
Config.GuarmaLocations = {
    {
        label = "Guarma Port",
        price = { cash = 5, gold = 0 },
        coords = vector4(...),
    }
}

โ€ข Defines Guarma teleport points โ€ข price โ†’ travel cost โ€ข coords โ†’ spawn location โ€ข Supports multiple locations


lua
requiredItem = {
    itemName = "ticket",
    itemLabel = "Ticket",
    removeItem = true
}

โ€ข Optional item requirement โ€ข Removes item on use โ€ข Can replace money system


๐Ÿšค VEHICLE SYSTEM โ€‹

lua
spawnVehicle = {
    enable = true,
    model = "hotAirBalloon01",
    spawnCoords = vector4(...),
    gotoCoords  = vector4(...)
}

โ€ข Spawns vehicle during travel โ€ข model โ†’ vehicle type โ€ข spawnCoords โ†’ spawn position โ€ข gotoCoords โ†’ destination path


๐ŸŒ CITY LOCATIONS โ€‹

lua
Config.CityLocations = {
    {
        label = "Blackwater Port",
        price = { cash = 5 },
        coords = vector4(...),
    }
}

โ€ข Defines return points from Guarma โ€ข Used for teleporting back to mainland โ€ข Works same as GuarmaLocations


๐Ÿ‘ท NPC SYSTEM โ€‹

lua
Config.NpcSetting = {
    ["Blackwater Port"] = {
        ped = true,
        model = "a_m_m_deliverytravelers_cool_01",
        coords = { vector4(...) },
    }
}

โ€ข Creates interactive NPCs โ€ข Players interact to open teleport menu โ€ข Fully customizable


lua
Blip = {
    showBlip = true,
    BlipSprite = 2033397166,
}

โ€ข Adds map marker for NPC โ€ข Helps players find teleport points


lua
openTimeSetting = {
    allowed = false,
    open = 8,
    close = 21
}

โ€ข Restricts teleport by time โ€ข Example โ†’ only daytime travel


๐Ÿ’ฐ PRICE SYSTEM โ€‹

lua
price = { cash = 5, gold = 0 }

โ€ข Defines teleport cost โ€ข Supports both cash and gold โ€ข Can be disabled


๐ŸŽ’ REQUIRED ITEM SYSTEM โ€‹

lua
requiredItem = false

โ€ข Optional item requirement โ€ข If false โ†’ no item needed โ€ข If enabled โ†’ must match inventory item


๐Ÿ‘๏ธ HUD INTEGRATION โ€‹

lua
Config.HideHud()
Config.ShowHud()

โ€ข Automatically hides HUD during travel โ€ข Works with fx-hud โ€ข Optional system


๐Ÿ”” NOTIFY SYSTEM โ€‹

lua
Notify({
  text = "Teleport Started",
  type = "success"
})

โ€ข Framework-based notification system โ€ข Supports VORP / RSG / REDEMRP โ€ข Fully customizable


โš ๏ธ IMPORTANT NOTES โ€‹

โ€ข NPC coords must be correct โ€ข Vehicle spawn coords must be safe โ€ข requiredItem must exist in database โ€ข price must match economy system โ€ข fx-hud integration is optional


๐Ÿšจ COMMON MISTAKES โ€‹

โ€ข Wrong coordinates โ€ข Missing required item โ€ข Vehicle spawning under map โ€ข NPC not appearing โ€ข Incorrect job permissions


๐Ÿ SUMMARY โ€‹

FX-GuarmaTP provides:

โ€ข Advanced teleport system โ€ข NPC interaction system โ€ข Travel vehicle system โ€ข Price & item system โ€ข Full framework compatibility


ยฉ Fixitfy Development

โšก Premium RedM scripts crafted with performance & quality in mind.