example
example

资源 游戏中带有可编辑菜单的邮政地图

Yann

站长
管理成员
GTAOS管理组
认证卖家
认证用户
本 月 名 人 榜 最 佳
1728189472747.png

预览:视频 207

功能
您可以在服务器中创建自己的邮政样式,并将其放置在屏幕上的任何位置
lua:
Config = {}

--[[
    This text will appear on the screen
]]
Config.text = {
    format = 'Postal: %s'
}

--[[
    Name of commands
]]
Config.commands = {
    edit = 'postaledit',
    postal = 'postal'
}

--[[
    If you want the blip to only appear when you are in a vehicle
]]
Config.OnlyPostalInCar = true

--[[
    Hide postal in pause menu
]]
Config.HideInPauseMenu = true

--[[
    Setting the blip when marking a postal
]]
Config.blip = {
    -- The text to display in chat when setting a new route.
    -- Formatted using Lua strings, http://www.lua.org/pil/20.html
    blipText = 'Route Postal%s',

    -- The sprite ID to display, the list is available here:
    -- https://docs.fivem.net/docs/game-references/blips/#blips
    sprite = 8,

    -- The color ID to use (default is 3, light blue)
    -- https://docs.fivem.net/docs/game-references/blips/#blip-colors
    color = 3,

    -- When the player is this close (in meters) to the destination,
    -- the blip will be removed.
    distToDelete = 100.0,

    -- The text to display in chat when a route is deleted
    deleteText = 'Route',

    -- The text to display in chat when drawing a new route
    drawRouteText = 'Route to %s',

    -- The text to display when a postal is not found.
    notExistText = "Postal Not Exists"
}

Config.updateDelay = nil

Github 下载

 
顶部