example
example

解决方案作者: Yann

  1. Yann

    已解决√ 求助 求计算玩家游戏时间的函数

    没有类似函数,只能自己实现。 数据库新增一个记录,在框架核心里自写读取保存的机制。然后新建一个无限循环线程,一秒执行一次,对所有玩家的游戏时间做累加。 或者用别人的 https://github.com/Adam-rGz/rgz_playedtime
  2. Yann

    已解决√ 求助 求一个快速上铐插件

    https://forum.gtaos.com/threads/528/ 自己挑了
  3. Yann

    已解决√ 求助 求一个末日丧尸RP的端

    https://github.com/TitansProductions/TP-Advanced-Zombies https://github.com/Dislaik/zombieoutbreak
  4. Yann

    已解决√ 求助 coudn't start resource chat

    chat不管语音的事,只要能正常使用可以不用管
  5. Yann

    已解决√ 求助 插件出bug

    ox-target的文档 https://overextended.dev/ox_target/Functions/Client#addspherezone
  6. Yann

    已解决√ 求助 插件出bug

    function api.addPolyZone(data) if data.debug then utils.warn('Creating new PolyZone with debug enabled.') end data.resource = GetInvokingResource() data.options = checkOptions(data.options) return lib.zones.poly(data).id end 人家的输入的data是一个table,你输入的是一个字符串,这不报错谁报错 要看手册写啊!...
  7. Yann

    已解决√ 求助 QBQBQB

    ['lspd'] = { }
  8. Yann

    已解决√ 求助 不是有效的命令

    没通过esx的代码注册命令? https://documentation.esx-framework.org/legacy/Server/Functions/registercommand/
  9. Yann

    已解决√ 求助 求怎么关闭原版chat的聊天

    自己不会写就用现成的 https://forum.cfx.re/t/release-global-chat-remover-ooc/4786227
  10. Yann

    已解决√ 求助 这种怎么解决

    本地服务器就用本地ip连接
  11. Yann

    已解决√ 求助 卡地图

    优化一下模型贴图,搜论坛有教程。
  12. Yann

    已解决√ 求助 外观系统插件里的原版服饰怎么关闭?

    不会不显示,具体需要你自己探索,这种问题很简单,自己试两边就知道了。
  13. Yann

    已解决√ 求助 求一个qb的悬浮字体

    https://forum.gtaos.com/threads/64/ 这里不就是现成的
  14. Yann

    已解决√ 求助 这个商店在哪添加物品

    找名为shop的资源
  15. Yann

    已解决√ 求助 求解OX库存的默认打开按键怎么修改

    https://github.com/overextended/ox_inventory/blob/56185238c4b62831b161699b625dbd7ddcc64d8d/init.lua#L81 我没用过ox的背包,不过看配置你可以在 server.cfg里设置 SetConvar(‘inventory:keys’,'TAB')来设置为TAB按键,也可以修改上面连接里边最后的{ 'F2', 'K', 'TAB' }
后退
顶部