๐ด FX-GUARMATP โ
Advanced Guarma teleport system for RedM with NPC interaction, travel system, pricing, and full framework compatibility.
๐ฆ INSTALLATION โ
ensure fx-guarmatpโข Place the script inside resources/fx-guarmatp โข Add ensure fx-guarmatp to your server.cfg โข Restart your server
โ๏ธ BASIC CONFIG โ
Config.Language = "en"โข Defines system language โข Used for all notifications and UI
๐ฎ PROMPT SYSTEM โ
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 โ
Config.AdminCommands = {
{
command = "tpguarma",
},
{
command = "exitguarma",
}
}โข Admin teleport system โข tpguarma โ teleport player to Guarma โข exitguarma โ return player โข Supports target player ID
๐ด GUARMA LOCATIONS โ
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
requiredItem = {
itemName = "ticket",
itemLabel = "Ticket",
removeItem = true
}โข Optional item requirement โข Removes item on use โข Can replace money system
๐ค VEHICLE SYSTEM โ
spawnVehicle = {
enable = true,
model = "hotAirBalloon01",
spawnCoords = vector4(...),
gotoCoords = vector4(...)
}โข Spawns vehicle during travel โข model โ vehicle type โข spawnCoords โ spawn position โข gotoCoords โ destination path
๐ CITY LOCATIONS โ
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 โ
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
Blip = {
showBlip = true,
BlipSprite = 2033397166,
}โข Adds map marker for NPC โข Helps players find teleport points
openTimeSetting = {
allowed = false,
open = 8,
close = 21
}โข Restricts teleport by time โข Example โ only daytime travel
๐ฐ PRICE SYSTEM โ
price = { cash = 5, gold = 0 }โข Defines teleport cost โข Supports both cash and gold โข Can be disabled
๐ REQUIRED ITEM SYSTEM โ
requiredItem = falseโข Optional item requirement โข If false โ no item needed โข If enabled โ must match inventory item
๐๏ธ HUD INTEGRATION โ
Config.HideHud()
Config.ShowHud()โข Automatically hides HUD during travel โข Works with fx-hud โข Optional system
๐ NOTIFY SYSTEM โ
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
