đ ī¸Installation
qb-core
qb-core/shared/items.lua
["insurance"] = {["name"] = "insurance", ["label"] = "Car Insurance", ["weight"] = 150, ["type"] = "item", ["image"] = "insurance.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["car_registration"] = {["name"] = "car_registration", ["label"] = "Car Registration", ["weight"] = 150, ["type"] = "item", ["image"] = "car_registration.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["health_insurance"] = {["name"] = "health_insurance", ["label"] = "Health Insurance", ["weight"] = 150, ["type"] = "item", ["image"] = "health_insurance.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
["home_insurance"] = {["name"] = "home_insurance", ["label"] = "Home Insurance", ["weight"] = 150, ["type"] = "item", ["image"] = "home_insurance.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = ""},
dpemotes
dpemotes/Client/AnimationList.lua
["health_insurance"] = {"anim@heists@humane_labs@finale@keycards", "ped_a_enter_loop", "Card", AnimationOptions =
{
Prop = "m-insurance_prop_card_health",
PropBone = 18905,
PropPlacement = {0.17, 0.03, 0.04, 1.0, 184.0, 0.0},
EmoteLoop = true,
EmoteMoving = true,
}},
["car_insurance"] = {"anim@heists@humane_labs@finale@keycards", "ped_a_enter_loop", "Card", AnimationOptions =
{
Prop = "m-insurance_prop_card_vehicle",
PropBone = 18905,
PropPlacement = {0.17, 0.03, 0.04, 1.0, 184.0, 0.0},
EmoteLoop = true,
EmoteMoving = true,
}},
["car_registration"] = {"anim@heists@humane_labs@finale@keycards", "ped_a_enter_loop", "Card", AnimationOptions =
{
Prop = "m-insurance_prop_card_registration",
PropBone = 18905,
PropPlacement = {0.17, 0.03, 0.04, 1.0, 184.0, 0.0},
EmoteLoop = true,
EmoteMoving = true,
}},
["home_insurance"] = {"anim@heists@humane_labs@finale@keycards", "ped_a_enter_loop", "Card", AnimationOptions =
{
Prop = "m-insurance_prop_card_house",
PropBone = 18905,
PropPlacement = {0.17, 0.03, 0.04, 1.0, 184.0, 0.0},
EmoteLoop = true,
EmoteMoving = true,
}},
scully_emotemenu
scully_emotemenu/data/animations/prop_emotes.lua
{
Label = 'Health Insurance',
Command = 'health_insurance',
Animation = 'ped_a_enter_loop',
Dictionary = 'anim@heists@humane_labs@finale@keycards',
Options = {
Props = {
{
Bone = 18905,
Name = 'm-insurance_prop_card_health',
Placement = {
vector3(0.17, 0.03, 0.04),
vector3(1.0, 184.0, 0.0),
},
},
},
},
},
{
Label = 'Car Insurance',
Command = 'car_insurance',
Animation = 'ped_a_enter_loop',
Dictionary = 'anim@heists@humane_labs@finale@keycards',
Options = {
Props = {
{
Bone = 18905,
Name = 'm-insurance_prop_card_vehicle',
Placement = {
vector3(0.17, 0.03, 0.04),
vector3(1.0, 184.0, 0.0),
},
},
},
},
},
{
Label = 'Car Registration',
Command = 'car_registration',
Animation = 'ped_a_enter_loop',
Dictionary = 'anim@heists@humane_labs@finale@keycards',
Options = {
Props = {
{
Bone = 18905,
Name = 'm-insurance_prop_card_registration',
Placement = {
vector3(0.17, 0.03, 0.04),
vector3(1.0, 184.0, 0.0),
},
},
},
},
},
{
Label = 'Home Registration',
Command = 'home_insurance',
Animation = 'ped_a_enter_loop',
Dictionary = 'anim@heists@humane_labs@finale@keycards',
Options = {
Props = {
{
Bone = 18905,
Name = 'm-insurance_prop_card_house',
Placement = {
vector3(0.17, 0.03, 0.04),
vector3(1.0, 184.0, 0.0),
},
},
},
},
},
qb-inventory & qs-inventory
qb-inventory/html/js/app.js or qs-inventory/configs/metada.js
} else if (itemData.name == "insurance") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(
"<p><strong>Name: </strong><span>" +
itemData.info.name +
"</span></p><p><strong>Plate: </strong><span>" +
itemData.info.plate +
"</span></p><p><strong>Vehicle Model: </strong><span>" +
itemData.info.model +
"</span></p><p><strong>Date: </strong><span>" +
itemData.info.date +
"</span></p><p><strong>Expires: </strong><span>" +
itemData.info.expire +
"</span></p>"
);
} else if (itemData.name == "car_registration") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(
"<p><strong>Name: </strong><span>" +
itemData.info.name +
"</span></p><p><strong>Plate: </strong><span>" +
itemData.info.plate +
"</span></p><p><strong>Vehicle Model: </strong><span>" +
itemData.info.model +
"</span></p>"
);
} else if (itemData.name == "health_insurance") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(
"<p><strong>Name: </strong><span>" +
itemData.info.name +
"<p><strong>CitizenID: </strong><span>" +
itemData.info.citizenid +
"</span></p><p><strong>Date: </strong><span>" +
itemData.info.date +
"</span></p><p><strong>Expires: </strong><span>" +
itemData.info.expire +
"</span></p>"
);
} else if (itemData.name == "home_insurance") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html(
"<p><strong>Name: </strong><span>" +
itemData.info.name +
"<p><strong>CitizenID: </strong><span>" +
itemData.info.citizenid +
"</span></p><p><strong>Date: </strong><span>" +
itemData.info.date +
"</span></p><p><strong>Expires: </strong><span>" +
itemData.info.expire +
"</span></p>"
);
New qb-inventory
qb-inventory/html/js/app.js
case "insurance":
return `<p><strong>Name: </strong><span>${itemData.info.name}</span></p>
<p><strong>Plate: </strong><span>${itemData.info.plate}</span></p>
<p><strong>Model: </strong><span>${itemData.info.model}</span>
<p><strong>Date: </strong><span>${itemData.info.date}</span></p>
</p><p><strong>Expire: </strong><span>${itemData.info.expire}</span></p>`;
case "car_registration":
return `<p><strong>Name: </strong><span>${itemData.info.name}</span></p>
<p><strong>Plate: </strong><span>${itemData.info.plate}</span></p>
</p><p><strong>Model: </strong><span>${itemData.info.model}</span></p>`;
case "health_insurance":
return `<p><strong>Name: </strong><span>${itemData.info.name}</span></p>
<p><strong>Citizen ID: </strong><span>${itemData.info.citizenid}</span></p>
<p><strong>Date: </strong><span>${itemData.info.date}</span></p>
</p><p><strong>Expire: </strong><span>${itemData.info.expire}</span></p>`;
case "home_insurance":
return `<p><strong>Name: </strong><span>${itemData.info.name}</span></p>
<p><strong>Citizen ID: </strong><span>${itemData.info.citizenid}</span></p>
<p><strong>Date: </strong><span>${itemData.info.date}</span></p>
</p><p><strong>Expire: </strong><span>${itemData.info.expire}</span></p>`;
Last updated