1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Car Dealer Error Please Help *FIXED*

Discussion in 'DarkRP Modding Questions & Help' started by ✰VLRP✰ Kale Meadows, Nov 7, 2017.

  1. So i was going to add a car dealer to my server and i done all the settings and positions and when i saved and restarted the server i got a error:

    [ERROR] addons/darkrpmodification/lua/darkrp_modules/tcb_car/sh_config.lua:41: attempt to call field 'dealerSpawns' (a table value)
    1. unknown - addons/darkrpmodification/lua/darkrp_modules/tcb_car/sh_config.lua:41
    2. doInclude - [C]:-1
    3. loadModules - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:86
    4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:147
    5. unknown - gamemodes/darkrp/gamemode/cl_init.lua:56


    This is the coding:

    TCBDealer.dealerSpawns("rp_downtown_bridge") {
    {
    pos = Vector(1369, 1295, 72),
    ang = Angle(1, -91, 0),
    mdl = "models/Barney.mdl",

    spawns = {
    {
    pos = Vector(1449, 1186, 72),
    ang = Angle(11, -91, 0)
    },
    {
    pos = Vector(1295, 1178, 72),
    ang = Angle(6, -91, 0)
    }
    }
    },


    {
    pos = Vector(2179, 4167, 72),
    ang = Angle(1, -1, 0),
    mdl = "models/Barney.mdl",

    spawns = {
    {
    pos = Vector(2203, 3848, 72),
    ang = Angle(2, -0, 0)
    },
    {
    pos = Vector(2197, 4502, 72),
    ang = Angle(0, 90, 0)
    }
    }
    },

    {
    pos = Vector(-2401, -1053, 72),
    ang = Angle(2, 91, 0),
    mdl = "models/Barney.mdl",

    spawns = {
    {
    pos = Vector(-2231, -677, 72),
    ang = Angle(3, -179, 0)
    },
    {
    pos = Vector(-2462, -670, 72),
    ang = Angle(2, 0, 0)
    }
    }

    },


    {
    pos = Vector(2141, 10886, 64),
    ang = Angle(5, -89, 0),
    mdl = "models/Eli.mdl",

    spawns = {
    {
    pos = Vector(2385, 10208, -160),
    ang = Angle(0, -91, 0)
    },
    {
    pos = Vector(1238, 10228, -160),
    ang = Angle(0, -89, 0)
    }
    }


    }}
     
  2. se7ensins

    se7ensins New Member

    Check your Pos again cause this happened to me too, but i got a better car dealer
     
  3. George Hennen

    George Hennen New Member

    TCB is outdated I suggest using vcmod
     
  4. thx
     
    George Hennen likes this.

Share This Page