ngd-showcase

ngd-showcase is an efficient, customizable vehicle showcase script that allows server owners to spawn in 'prop' vehicles for display anywhere around the map.

Installation Instructions:

  • Add the ngd-showcase folder into your server's resource folder.

  • Open server.cfg and add ensure ngd-showcase

  • Open config.lua and customize to your needs.

Update - V2.5: Script is now standalone and no longer dependent on a framework.

Script can be restarted live without any issues!

If you have any problems - Join our Discord for support!

Config = {
   debug = false,
}

Config.Cars = {
   [1] = {
      model = `zentorno`, --Vehicle Spawncode
      coords = vector4(191.51, -1017.86, 29.29, 200), --Vehicle Position
      range = 50, -- Range from player vehicle will spawn (Recommend leaving at 50 for best performance.)
      mods = {
         --Primary Paint:
         RandomColor       = false, -- This will OVERRIDE the paint colors below and make them random
         PrimaryPaintType  = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         PrimaryColor      = 1, --Color (https://pastebin.com/pwHci0xK)
         PrimaryPearlColor = 1,
         --Seconday Paint:
         SecPaintType      = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         SecColor          = 1, --Color (https://pastebin.com/pwHci0xK)
         modFrontBumper    = 3,
         modRearBumper     = 0,
         modSideSkirt      = 2,
         modExhaust        = 0,
         modChassis        = 0,
         modGrille         = 0,
         modHood           = 0,
         modWingL          = 1,
         modWingR          = 1,
         modRoof           = 1,
         modSuspension     = 3,
         modWheelType      = 9, -- (0=Sport, 1=Muscle, 2=Lowrider, 3=SUV, 4=Offroad, 5=Tuner, 6=Bike, 7=HighEnd, 8=SuperMod1, 9=SuperMod2, 10=SuperMod3, 11=SuperMod4, 12=SuperMod5)
         modWheels         = 1,
         modSeats          = 1,
         modSteeringWheel  = 1,
         modSpeakers       = 1,
         modTrunk          = 1,
         modStruts         = 1,
         modArchCover      = 1,
         modWindowTint     = 6,
         modLivery         = 0,
         dirtLevel         = 0, --(0-10 - 0 Being clean)
         modXenon          = true, -- (false = Standard, true = Xenon - When lights are turned on.)
         xenonr            = 255, -- Xenon RGB
         xenong            = 0, -- Xenon RGB
         xenonb            = 0, -- Xenon RGB
         lights            = 2, --Lights (1 = OFF, 2 = ON)

      },

   },
   [2] = {
      model = `thrax`,
      coords = vector4(186.32, -1016.76, 29.31, 208),
      range = 50,
      lights = 1,
      mods = {
         --Primary Paint:
         RandomColor      = true, -- This will OVERRIDE the paint colors below and make them random
         PrimaryPaintType = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         PrimaryColor     = 27, --Color (https://pastebin.com/pwHci0xK)
         -- PrimaryPearlColor = 1,
         -- --Seconday Paint:
         SecPaintType     = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         SecColor         = 1, --Color (https://pastebin.com/pwHci0xK)
         modFrontBumper   = 1,
         modRearBumper    = 5,
         modSideSkirt     = 3,
         modExhaust       = 1,
         modChassis       = 1,
         modGrille        = 1,
         modHood          = 2,
         modWingL         = 1,
         modWingR         = 1,
         modRoof          = 1,
         modSuspension    = 3,
         modXenon         = 1, -- (0 = Standard, 1 = Xenon - When lights are turned on.)
         modWheels        = 12,
         modSeats         = 1,
         modSteeringWheel = 1,
         modSpeakers      = 1,
         modTrunk         = 1,
         modStruts        = 1,
         modArchCover     = 1,
         modWindowTint    = 6, --(0= None, 1= PureBlack, 2=DarkSmoke, 3=LightSmoke, 4=Stock, 5=Limo, 6=Green)
         modLivery        = 0,
         dirtLevel        = 0, --(0-10 - 0 Being clean)
         modXenon         = true, -- (false = Standard, true = Xenon - When lights are turned on.)
         xenonr           = 255, -- Xenon RGB
         xenong           = 0, -- Xenon RGB
         xenonb           = 0, -- Xenon RGB
         lights           = 2, --Lights (1 = OFF, 2 = ON)
      },
   },
   [3] = {
      model = `taco`,
      coords = vector4(180.49, -1014.59, 29.32, 207),
      range = 50,
      lights = 2,
      mods = {
         RandomColor = true,

         --Mods from below can go here!
      },
   },
}


--Available Mods - Add and remove as you wish.--
--[[
         --Primary Paint:
         RandomColor = true,    -- This will OVERRIDE the paint colors below and make them random
         PrimaryPaintType  = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         PrimaryColor      = 1, --Color (https://pastebin.com/pwHci0xK)
         PrimaryPearlColor = 1,
         --Seconday Paint:
         SecPaintType      = 1, -- 0= Normal, 1= Metallic, 2=Pearl, 3= Matte, 4= Metal, 5= Chrome
         SecColor          = 1, --Color (https://pastebin.com/pwHci0xK)
         modFrontBumper    = 1,
         modRearBumper     = 5,
         modSideSkirt      = 3,
         modExhaust        = 1,
         modChassis        = 1,
         modGrille         = 1,
         modHood           = 2,
         modWingL          = 1,
         modWingR          = 1,
         modRoof           = 1,
         modSuspension     = 3,
         modXenon          = 1, -- (0 = Standard, 1 = Xenon - When lights are turned on.)
         modWheels         = 12,
         modSeats          = 1,
         modSteeringWheel  = 1,
         modSpeakers       = 1,
         modTrunk          = 1,
         modStruts         = 1,
         modArchCover      = 1,
         modWindowTint     = 6, --(0= None, 1= PureBlack, 2=DarkSmoke, 3=LightSmoke, 4=Stock, 5=Limo, 6=Green)
         modLivery         = 0,
         dirtLevel         = 0, --(0-10 - 0 Being clean)
         modXenon          = true, -- (false = Standard, true = Xenon - When lights are turned on.)
         xenonr            = 255, -- Xenon RGB
         xenong            = 0, -- Xenon RGB
         xenonb            = 0, -- Xenon RGB
         lights            = 2, --Lights (1 = OFF, 2 = ON)
]]

Last updated