Using: resource.AddFile("") :in the right way? (2 questions)

SOLVED BOTH OF THESE QUESTIONS.

Hey everyone. I’ve posted a thread a few… threads back (some may have seen), but I’m a bit cluseless about these next problems. Well, it’s more or less about file destinations. Here’s the 2:

  1. I’ve tried to make a resource lua file for my friends server, so that people can DL the files off the server, but it doesn’t seem to work.
    I know the resource.AddFile goes like this:

resource.AddFile("<name of file>")
resource.AddFile("<name of file>")
resource.AddFile("<name of file>")
resource.AddFile("<name of file>")

But where would I put this lua file? Would I put it in: gamemodes/DarkRP/content/autorun/server ? Or is it meant to go into an addons: lua/autorun/server folder?

  1. Everyones heard of drugzmod, but, I’m having a hard time making them spawn as an entity. They show up on the menu but don’t seem to spawn. Any place I’m missing to put them in?

Thanks. It’s a bit of a annoyance but not too important (on both).

The resource file can go in gamemodes/DarkRP/gamemode/ as long as you include it in your init.lua.

Thanks. That’s Q1 solved. :stuck_out_tongue:

[editline]05:46PM[/editline]

Solved Q2. Thanks anyway.