In my DarkRP server I correctly installed CSS Realistic Weapons 4.0, once a shipment was spawned you could get tit out of the box but you can no pick it up almost like it is a model NOT a gun...
I tried using MadCow's Weapons and same deal not a weapon only a model??
[editline]1st December 2012[/editline]
Bump Please help!
[editline]1st December 2012[/editline]
bump[QUOTE=plungedcashew;38669754]In my DarkRP server I correctly installed CSS Realistic Weapons 4.0, once a shipment was spawned you could get tit out of the box but you can no pick it up almost like it is a model NOT a gun...
I tried using MadCow's Weapons and same deal not a weapon only a model??
[editline]1st December 2012[/editline]
Bump Please help![/QUOTE]
Did you implement them so you buy them through the F4 menu or do you spawn them through the Q Menu?
I implemented them through the F4 menu
Then the entities classes are probably wrong.
Hmm I do not believe so let me check
[editline]1st December 2012[/editline]
I downloaded it through Steam Workshop... Still has same effect
Can you give us the shipment code or the job that gets to spawn it?
Just give us the addentities.lua file printe here with [lua ][/lua ] tags
We just found an error in console "Attempted to create unknown entity type weapon_real_cs_ak47!"
are you sure those are the models? and also does your server have CSS installed?
Those are the correct models, and I do have CSS and Cstrike installed properly. It is strange their is an entity error if you can see them in-game but not pick them up.
All I had to do for installation was drag the folder in and then add it to the Lua file. If that seems correct then it should be working!
did you make it that guns are disabled in the config.lua? or did you make it that you need a license?
Aren't those custom shipments in the correct format? Since FPTje changed the way shipments were added.
[QUOTE=KillerLUA;38701565]Aren't those custom shipments in the correct format? Since FPTje changed the way shipments were added.[/QUOTE]
The old syntax can still be used.
Did you remember to set rp_license to 0? Otherwise people can't pick up weapons unless they get a gunlicense from the mayor.
I have the same problem. I have correctly installed css realistic weapon pack, and added the custom shipment code into the addentities.lua. And i have made a job called "TEST" and he spawns with a gunlicense. And the rp_gunlicense is sat to (0). I can only spawn the shipment, but NOT pick it up... And i have tried to google this alot. But still, i haven't found any answer... please help.
[QUOTE=MrCesew;38954977]I have the same problem. I have correctly installed css realistic weapon pack, and added the custom shipment code into the addentities.lua. And i have made a job called "TEST" and he spawns with a gunlicense. And the rp_gunlicense is sat to (0). I can only spawn the shipment, but NOT pick it up... And i have tried to google this alot. But still, i haven't found any answer... please help.[/QUOTE]
Hello, I have your solution. You need to add your entity's name correctly to the shipment file. To find the exact name for this weapon or item do this. Connect to your game and by holding Q go to either 'weapons' or 'entities' tab at top. Find the item you want to add. Now, Right-Click it and COPY. This will copy the EXACT name to spawn your shipment and be able to use it.
Now just replace the entity of your gun shipments and your good to go.
Hope this is a solution for everyone with the problem.
EDIT:
Here's an example:
This is my ak47 shipment.
[I]AddCustomShipment("AK47", {
model = "models/weapons/w_rif_ak47.mdl",
entity = [B]"weapon_mad_ak47"[/B],
price = 2750,
amount = 10,
seperate = true,
pricesep = 380,
noship = false,
allowed = {TEAM_HEAVYGUN}
})[/I]
And, this is plungedcashew's code.
[I]AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", [B]"weapon_real_cs_ak47"[/B], 10000, 10, true, 1000, false, {TEAM_GUN})[/I]
Notice that the entity name is "weapons_real_cs_ak47" if it is a 'mad cow' weapon pack it would be something like 'weapon_mad_ak47'.
If you can't pickup your shipments but CAN spawn it. This means your entity name isnt correct. Your code must be edited just slightly to work. Good luck.
[QUOTE=gary23548;39626578]-snip-[/QUOTE]
Don't you think they found a solution? I mean it's several months since they had this issue.
Why do you people even go so long back?
I found A solution. I had the same problem where I could spawn the weapons and shipments in perfectly but couldn't pick them up and had the right models and code right also. I used M9K weapons and once removing them from my server completely and adding them back in everything works fine now. Hope this helps!
Sorry, you need to Log In to post a reply to this thread.