Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Adapting & Convert Lb-phone to Codem-inventory Remake [QB] [HELP] [NEW]

AssasinTVGO

Member
Joined
Apr 21, 2024
Messages
2
Reaction score
1
Points
156
Location
assZAsasasa
Anyone Can Fix This Meta Problem

codem İnventory Remake Meta:
else if (phoneMeta.includes(item.name)) {
let charinfo = iteminfo.charinfo || {};
let infoData = [
{ label: "Firstname", value: charinfo.firstname || "Unknown" },
{ label: "Lastname", value: charinfo.lastname || "Unknown" },
{ label: "Number", value: charinfo.phoneNumber || "Unknown" }
];
returnString = infoData;
}


lb-Phone Qb-inventory Meta:

qb-inventory/js/app.js
if (itemData.name == "phone" && itemData.info.lbPhoneNumber) {
$(".item-info-title").html("<p>" + (itemData.info.lbPhoneName ?? itemData.label) + "</p>")
$(".item-info-description").html(
"<p><strong>Phone Number: </strong><span>" + (itemData.info.lbFormattedNumber ?? itemData.info.lbPhoneNumber) + "</span></p>"
)
return
}

qb-inventory/server/main

if item == "phone" then
TriggerClientEvent('lb-phone:itemRemoved', source)
end


if item == "phone" then
TriggerClientEvent('lb-phone:itemAdded', source)
end



how can ı convert his HELP MEEEEEE?


1722521923984.png

1722521989767.png
 
Top