🌐
MFPSCRIPTS- Documentation
  • πŸ”Documentation
  • 🐌Scripts
    • πŸ“±PhoneBattery
      • βš™οΈInstallation
      • ☎️Addidtional Phones
        • πŸ“±RoadPhone
        • πŸ“±GCPhone
        • πŸ“±HighPhone
        • πŸ“±D-Phone
        • πŸ“±NPWD
    • πŸ’ΈBanking
      • βš™οΈInstallation
    • πŸš”Policejob
      • βš™οΈInstallation
      • πŸ”—Script Intergrations
      • πŸ‘¨β€πŸ’»Developers
    • 🚧Progressbar
    • ℹ️Notification
    • πŸ—‘οΈScrapyard
    • 🎬HUD
    • πŸ“²Dispatches-App for LB-Phone
    • πŸ—ΊοΈMFP_AdvancedBlips
  • πŸ₯©Additional
    • βš™οΈINSTALL SCRIPTS
    • πŸ“΄FiveStatus
  • 🚫General Errors
    • πŸ“€es_extended
Powered by GitBook
On this page
  • Panicbutton & Dispatch
  • Billings & Innvoice
  • Mileage
  • Vehicle Registration
  • Prison
  • Speedcams
  1. Scripts
  2. Policejob

Script Intergrations

In this section we show you how to use your scripts in our policesystem.

Panicbutton & Dispatch

Config.PanicTime = 120 -- in sec
Config.DispatchScript = 'none'
-- 'none' for no special dispatch script
-- 'core' for default core dispatch
-- 'aty' for aty_dispatch
-- 'cd_dispatch' for cd_dispatch
-- 'qs-dispatch' for Quasar Dispatch
-- 'custom' for custom script

function OpenCustomDispatch(playerCoords)
    -- add custom dispatch script here if Config.DispatchScript = 'custom'
end

Billings & Innvoice

Config.BillingScript = 'none'
-- 'none' to disable interactionmenu-billings
-- 'esx_billing' for default esx billing
-- 'vivum' for VivumBilling
-- 'custom' for custom script

function OpenCustomBilling(target, amount)
    -- add custom billing script here if Config.BillingScript = 'custom'
end

Mileage

Config.EnableIntegratedMileage = true -- (use our free resource: mfp_mileage)
Config.MileageScript = 'mfp'
-- 'mfp' for our free resource mfp_mileage
-- 'integrated' to enable the demo version of this feature

Vehicle Registration

Config.VehicleRegisterScript = 'none'
-- 'lux' for default lux_vehiclepaper
-- 'none' to disable this feature

Prison

Config.Prisonscript = 'custom' 
-- 'none' if you want to deactivate
-- 'myprison' for MyPrison
-- 'qalle' for esx-qalle-jail
-- 'custom' for custom script

function OpenCustomJailMenu(target)
    -- add custom jail script here if Config.Prisonscript = 'custom'
end

Speedcams

Config.Speedcamsscript = 'custom' 
-- 'none' if you want to deactivate
-- 'myspeedcams' for MySpeedcams
-- 'custom' for custom script

function CreateCustomSpeedcams()
    -- add custom speedcam script here if Config.Speedcamsscript = 'custom'
end

function ManageCustomSpeedcams()
    -- add custom speedcam script here if Config.Speedcamsscript = 'custom'
end
PreviousInstallationNextDevelopers

Last updated 9 months ago

🐌
πŸš”
πŸ”—