["gps_device"] = {
["name"] = "gps_device",
["label"] = "Spaying Device",
["weight"] = 500,
["type"] = "item",
["image"] = "gps_device.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Special device for monitoring and tracking"
},
["gps_tablet"] = {
["name"] = "gps_tablet",
["label"] = "Spaying Tablet",
["weight"] = 1000,
["type"] = "item",
["image"] = "gps_tablet.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "data entry tablet device"
},
["note_ip"] = {
["name"] = "note_ip",
["label"] = "Contact Informations",
["weight"] = 400, ["type"] = "item",
["image"] = "note_ip.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "contact information"
},
["detector"] = {
["name"] = "detector",
["label"] = "Detector Device",
["weight"] = 400,
["type"] = "item",
["image"] = "detector.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "A device through which you can inspect a persons devices"
},
if item == 'gps_device' then
info.ip = info.ip or math.random(1,9).."."..math.random(1,9).."."..math.random(1,9).."."..math.random(1,9)
info.password = info.password or math.random(1,9)..math.random(1,9)..math.random(1,9)..math.random(1,9)
end
} else if (itemData.name == "gps_device") {
$(".item-info-title").html('<p>' + itemData.label + '</p>')
const newLocal = '<p>IP: ';
$(".item-info-description").html(newLocal + itemData.info.ip + ' <p>Passsword:' + itemData.info.password);
$(".item-info-stats").html('<p>Weight: ' + ((itemData.weight * itemData.amount) / 1000).toFixed(1) + ' | Amount: ' + itemData.amount)
} else if (itemData.name == "note_ip") {
$(".item-info-title").html('<p>' + itemData.label + '</p>')
const newLocal = '<p>IP: ';
$(".item-info-description").html(newLocal + itemData.info.ip + ' <p>Passsword:' + itemData.info.password);
$(".item-info-stats").html('<p>Weight: ' + ((itemData.weight * itemData.amount) / 1000).toFixed(1) + ' | Amount: ' + itemData.amount)
} else if (itemData.name == "gps_device") {
$(".f9iteminfoname").html('<p>' + itemData.label + '</p>')
const newLocal = '<p>IP: ';
$(".item-info-description").html(newLocal + itemData.info.ip + ' <p>Passsword:' + itemData.info.password);
$(".item-info-stats").html('<p>Weight: ' + ((itemData.weight * itemData.amount) / 1000).toFixed(1) + ' | Amount: ' + itemData.amount)
} else if (itemData.name == "note_ip") {
$(".f9iteminfoname").html('<p>' + itemData.label + '</p>')
const newLocal = '<p>IP: ';
$(".item-info-description").html(newLocal + itemData.info.ip + ' <p>Passsword:' + itemData.info.password);
$(".item-info-stats").html('<p>Weight: ' + ((itemData.weight * itemData.amount) / 1000).toFixed(1) + ' | Amount: ' + itemData.amount)
Finally Customize Your setting in config.lua