The Postcode Waypoint System is a good and efficient tool designed to enhance navigation within your server. With this system, players can use the /postcode command to instantly set GPS waypoints to specific locations based on predefined postcodes. It’s a must-have addition for any server seeking to improve player experience and immersion.
Key Features:
Seamless Navigation: Players can easily set waypoints to various locations using postcodes, making traveling a breeze and reducing the time spent navigating and searching on the map.
Customizable Notifications: Engage players with custom notification messages when they successfully set a waypoint or enter an invalid postcode, enhancing the overall gameplay experience.
Easy Integration: The system can be effortlessly integrated into your existing server setup, ensuring smooth functionality without disrupting ongoing gameplay.
The /postcode command is user-friendly and easily accessible, making it suitable for both new and experienced players.
Unlock the Full Potential of Your Server:
Why settle for traditional navigation methods when you can provide your players with a easly and user-friendly solution? The Postcode Waypoint System is the ultimate tool for optimizing navigation in your server, ensuring players can focus on the fun aspects of gameplay without getting lost or confuse searching on the map.
1659 locations. Its whole map located in this system!
local Postals = json.decode(LoadResourceFile(GetCurrentResourceName(), "/json/postals.json"))
Citizen.CreateThread(function()
TriggerEvent('chat:addSuggestion', '/postal', 'Mark Wanted Postal Number', {
{ name="Number", help="Postal Number" },
})
end)
RegisterCommand("postal",function(source,args,rawCommand)
local WantedPostal = tonumber(args[1])
if not WantedPostal then return exports['mythic_notify']:SendAlert("error", "Enter Valid Postal Code") end
local Found = false
for i, p in ipairs(Postals) do
if tonumber(WantedPostal) == tonumber(p.code) then
SetNewWaypoint(p.x,p.y)
exports['mythic_notify']:SendAlert("success", "Location Marked")
Found = true
break
end
end
if not Found then return exports['mythic_notify']:SendAlert("error", "That Postal Code Didnt Found") end
end)