On DarkRP 2.4.2 I installed Mad Cow's Weapon Pack and then went into DarkRP/gamemode/addentities.lua to make a new Job that sells said weapons. When I was done and started up the server to test everything but when I hit F4 and went to the entities/weapons tab there was nothing under the Entities category, no matter what job I tried, but when I removed some of the weapons from the code it worked. Have I hit some sort of limit? If so, is there any way to raise it?
[quote="washington61"]and then went into DarkRP/gamemode/addentities.lua [b]to make a new Job[/b] that sells said weapons.[/quote]
You don't put jobs in addentities.lua I don't know if this is a typo or not but jobs go into shared.lua not entities.
I put the Jobs in shared, don't worry
I have some stuff you need to check:
1. Are you putting your code under where it says you need to? (bottom of the file)
2. Are you using the latest SVN Version?
[QUOTE=ben434;36894829]I have some stuff you need to check:
1. Are you putting your code under where it says you need to? (bottom of the file)
2. Are you using the latest SVN Version?[/QUOTE]
Yes
Yes
Also, in the shared.lua file there is a mini-tutorial on how to add weapons. If the code you have copied is a few months old then there are multiple changes you must make.
Also, if you look towards the end of the file the last few weapons have "{TEAM_ECT}" is this purposely done?
Ok I will try that, and yes I did do ETC on purpose
[editline]23rd July 2012[/editline]
Unfortunately changing the values to nil didn't work, same problem.
Which Mad Cows Weapons version are you using?
3.0 beta
Use this one, its a lot better [url]http://www.garrysmod.org/downloads/?a=view&id=123076[/url]
it might work then
Sorry, you need to Log In to post a reply to this thread.