Hi! I'm trying to figure out how to make an NPC/Entity I've coded work with the DarkRP mod? I have a pre-existing addon folder which has an NPC that you press E on and then you can press a button and it'll spit something out in console. Is there any special placement or "AddCSLua"/"Include" I need to do with the darkrpmodification?
I am trying to use "getPocketItems" but it says it's a nil value. So I assume it has to do with the placement of my code which is in a standalone folder in "addons".
https://wiki.garrysmod.com/page/Main_Page
Wiki
Search for print, and you'll see PrintTable
So change the print to PrintTable, and it'll print the 'words' instead.
Ah okay thank you
Sorry, you need to Log In to post a reply to this thread.