This file was automatically imported from the old garrysmod.org site. You can see other imported files on the reuploads page.

*N Darkrp npc trader shop V2.2

Originally uploaded by Freaky Fruit on 23rd June 2011 13:07 pm

This is a snpc for darkrp. It is easy to setup, but i recomend that if you need help, tell me on facepunch...
You do not need to set max npcs to 1, because it is the server and not the client that creates the npc.
Fix for pocket:http://www.garrysmod.org/downloads/?a=view&id=117395
Here is the facepunch:http://www.facepunch.com/threads/1054260-Bertilml-s-DarkRP-SNPC-Traders?p=27711818#post27711818
If you got any requests tell me, and i will try my best!
The SNPC is selling guns and/or entities (NEW). There is a tuturial in the darkrp folder, if you wan it to sell other guns/ entities or make more SNPCs (fx if you wan a gun dealer and a item dealer).
The trader is coded in lua by Bertilml (^4Ghost).
sry i can't use disqus of some reason?? If you wan to critisise, use the link to facepunch...
No... this is not from Perp... lol?
***CHANGELOG***
**Version 2.2:
*Adds:
-Npc should now be able to spawn vehicles, and ents.
-The ent/ wep spawns where the player looks... It is easy to steal from the player who buys from the npc...
*Edits:
-Rewrote code and fixed the version 2.1 crash... It wasn't even tested, this one is:)
**Version 2.1:
*Adds:
-Now you can spawn ents.
-Tag is enabled.
**Version 2:
*Adds:
-The npc now write different things in chat on use.
-Different spawns in different maps.
*Edits:
-Pocket bug! (fixed... see top...)
-Basic code�
-The npc in chat...
-Standalone (without the rest of Darkrp)...
**Version 1.1
*Adds:
-The npc now write Welcome to my shop, how can I help you? in chat.
*Edits:
-Changed npc name so it matches till what i wrote in tuturial (... sry guys, I knew i forgot something^^)
**Version 1
*Adds:
-Uploaded...

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • Darkrp <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • Darkrp/
    • entities/
      • npc_trader/
        • cl_init.lua
        • init.lua
        • shared.lua
    • gamemode/
      • npcspawns.lua
    • SNPC tut.txt

BBCode:

HTML:

Social: