1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

How to fix shipments & Add Attachments

Discussion in 'DarkRP Modding Questions & Help' started by Jordon, Feb 9, 2020.

  1. Jordon

    Jordon New Member

    Hello there everyone, So I've installed FA:S weapons on my workshop collection & I've added the shipments in darkrp.customthings.shipments.lua, However they're not spawnable by my Gun Dealer class.

    My gun dealer team is TEAM_GUN, this is the code for shipments;


    I'm also wondering how to fix this error message:

    Please check your console for more information!
    [ERROR] A runtime error has occurred in "[C]" on line -1.
    The best help I can give you is this:
    spawned_weapon has model "models/weapons/w_m14.mdl" with no physics and will be motionless
    - Does this model have an associated physics model (modelname.phy)?
    - Is this model supposed to have physics? Many models, like effects and view models aren't made to have physics
    - The issue lies with weapon "fas2_m21"
    The responsibility for the error above lies with (the authors of) one (or more) of these files:
    1. function 'Spawn'
    2. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 148
    3. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 105
    ------- End of Simplerr error -------

    The shipment works if I pocket it, Just not when I press E.

Share This Page