FiveM插件 NoPixel4.0风格手机

FiveM插件 NoPixel4.0风格手机

🎀 🌸

FiveM插件 NoPixel4.0风格手机

依赖

 

  1. qb-core
  2. qb-phone
  3. qb-target

信息

 

它几乎与您可能拥有的所有电话兼容,但如果您的电话类型与普通电话不同,您可以在 client.lua 中更改第 60 行的功能,还有一些功能可以检查玩家在通话时是否在公用电话旁边,根据自己的喜好使用它,并确保将此 followig 代码添加到您的 qb-phone/main.lua 中的任何位置

local PublicPhoneobject = {
    -2103798695,1158960338,
    1281992692,1511539537,
    295857659,-78626473,
    -1559354806
}

  exports['qb-target']:AddTargetModel(PublicPhoneobject, { -- This defines the models, can be a string or a table
    options = { -- This is your options table, in this table all the options will be specified for the target to accept
        {
            icon = "fas fa-phone-volume",
            label = "Make Call",
            event = "nyx-payphone:showpphone",
        },
    },
    distance = 2.5, -- This is the distance for you to be at for the target to turn blue, this is in GTA units and has to be a float value
})
© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享
评论 共3条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复