βοΈEXPORTS
Exports Usage (Server Side)
Create Credit Card
Using the CreateCreditCard exports
CreateCreditCard exportsexports.LGF_Banking:CreateCreditCard(source, metadata)Example Usage
RegisterCommand('getCard', function(source, args)
local metadata = {
label = 'My Custom Credit Card',
description = 'My Custom Credit Card Description',
type = "Custom Card Type",
price = 0,
itemHash = 'burger',
weight = 10,
imageUrl = 'nui://ox_inventory/data/images/' .. itemname .. '.png'
}
exports.LGF_Banking:CreateCreditCard(source, metadata)
end)
RegisterCommand('getCard2', function(source, args)
exports.LGF_Banking:CreateCreditCard(source, {
label = 'My Custom Credit Card',
description = 'My Custom Credit Card Description',
type = "Custom Card Type",
price = 0,
itemHash = 'burger',
weight = 10,
imageUrl = 'nui://ox_inventory/data/images/' .. itemname .. '.png'
})
end)Change PIN (Using the ChangePin exports)
Example Usage (using LegacyFramework)
Last updated