找到qb-smallresources脚本底下的config文件,并且可以找到以下代码:
我们只需要把 disableHudComponents 里边的14删掉就行了,最后的效果:
最后准星就出来了:
lua:
Config.Disable = {
disableHudComponents = {1, 2, 3, 4, 7, 9, 13, 14, 19, 20, 21, 22}, -- Hud Components: https://docs.fivem.net/natives/?_0x6806C51AD12B83B8
disableControls = {37}, -- Controls: https://docs.fivem.net/docs/game-references/controls/
displayAmmo = true -- false disables ammo display
}
我们只需要把 disableHudComponents 里边的14删掉就行了,最后的效果:
lua:
disableHudComponents = {1, 2, 3, 4, 7, 9, 13, 19, 20, 21, 22}, -- Hud Components: https://docs.fivem.net/natives/?_0x6806C51AD12B83B8
最后准星就出来了: