Id Above Player QBCORE/QBX or ESX
- Id Above Player Custom
- Add Resource core (esx or qb)
- Add Resource library ox lib
Naufal = {
fn = {},
}
Naufal.fn.input = function(src, title, data)
return lib.callback.await('ui:ip', src, title, data)
end
lib.callback.register('ui:ip', function(heading, rows, options)
return lib.inputDialog(heading, rows, options)
end)
-- state : true/false
exports['naufal-idabovehead']:toggleIdKepala(state)
- Cari code
if inv == 'trunk' then
- Taruh di atasnya code diatas dengan code
exports['naufal-idabovehead']:toggleIdKepala(true)
- Selanjutnya cari code function
client.closeInventory
- Taruh di paling bawah dengan code
exports['naufal-idabovehead']:toggleIdKepala(false)