💻Developer
Insurance types
Name
Typename
Vehicle insurance
car
Health insurance
krank
Liability insurance
haft
Residential building insurance
wohn
Occupational disability insurance
beruf
Legal expenses insurance
recht
Exports
Add insurance
exports['ks_insurance']:addInsurance(targetsource, insurance)targetsource: Source of target (source)
insurance: Typename of insurance (string)
Remove insurance
exports['ks_insurance']:removeInsurance(targetsource, insurance)targetsource: Source of target (source)
insurance: Typename of insurance (string)
Get all insurances
exports['ks_insurance']:getAllInsurance(targetsource)targetsource: Source of target (source)
Get insurance by type
exports['ks_insurance']:getInsuranceType(targetsource, type)targetsource: Source of Target (source)
type: Typename of insurance (string)
Open context menu (selfmenu)
exports['ks_insurance']:openSelfMenu(targetsource)targetsource: Source of Target (source)
Add vehicle to insurance
exports['ks_insurance']:addVehicle(plate)plate: plate of vehicle that you want to add (string)
Remove vehicle to insurance
exports['ks_insurance']:removeVehicle(plate)plate: plate of vehicle that you want to remove (string)
Last updated