Kxiox Scripts
  • 📢Discord
  • 💻GitHub
  • 🛡️ks_insurance
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
    • 💻Developer
  • 💼ks_jobchanger
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
  • 🔥ks_hydrants
    • 📼Preview
    • ⬇️Download and install
    • ⚙️Configuration
    • 💻Developer
Powered by GitBook
On this page
  • Insurance types
  • Exports
  1. ks_insurance

Developer

Insurance types

Name
Typename

Fahrzeugversicherung

car

Krankenversicherung

krank

Haftpflichtversicherung

haft

Wohngebäudeversicherung

wohn

Berufsunfähigkeitsversicherung

beruf

Rechtsschutzversicherung

recht

Exports

Show closest player the menu

exports['ks_insurance']:showClosestPlayer()

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)

PreviousConfigurationNextPreview

Last updated 6 months ago

🛡️
💻