Skip to content

MaDHouSe79/mh-vehiclewipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi 👋, I'm MaDHouSe

A passionate allround developer

🙈 Youtube

MH Automatic Vehicle Wipe Script by MaDHouSe

  • This script will automatically wipe your server every 30min
  • if you use qb-parking you can set Config.UseParking to true
  • you can also add plates that will be ignored when the wipe is running.

NOTE

  • If you are not using mh-parking, your vehicle goes to impound, this is by defauld by qb-garage
  • It can happen that some vehicle not get wiped, but it wil be the next wipe that is comming.

Install

  • Stop your server.
  • Place mh-vehiclewipe in resources/[mh] folder
  • Start your server.
  • is wil run automatically every 30min for now.

Triggers, to add and remove a plates

-- client side triggers
TriggerServerEvent('mh-vehiclewipe:server:addplate', plate)
TriggerServerEvent('mh-vehiclewipe:server:removeplate', plate)
-- server side triggers
TriggerEvent('mh-vehiclewipe:server:addplate', plate)
TriggerEvent('mh-vehiclewipe:server:removeplate', plate)

Admin Command

  • typ /wipeall to start a server wipe.

Config

Config.WaitTimer    = 60000 -- By default 1 minute
Config.WipeTime     = 30    -- By default wipe every 30 minutes.
Config.UseParking   = true  -- By default false, but if you are using qb-parking set this true
Config.IgnorePlates = {     -- Vehicleshop vehicle plates to be ignored for wipe.
    "BUY-ME", 
    "BUY ME", 
    "TESTDRIVE",
}

About

MH Automatic Vehicle Wipe Script by MaDHouSe79

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages