• DarkRP /buyshipment help
    3 replies, posted
I am a noob, so I cannot find how to do this. I wish to enable /buyshipment for another job... when I click on the available shipments ingame, it doesnt let me... and I know I enabled these shipments for this team.
If you want to enable it for a certain job go to gamemodes/darkrp/addentities.lua. In that file, you will see lines like [lua]AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_p2282", 0, 10, true, 185, true, {TEAM_GUN})[/lua]. Just add whatever job you want to have access to the shipments after "TEAM_GUN". So if you wanted the mayor to be able to buy it, then do this: [lua]AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_p2282", 0, 10, true, 185, true, {TEAM_GUN, TEAM_MAYOR})[/lua]. Do this for all of the shipments you would like. If you would like all jobs to have access to a certain shipment, I think you do it like this:[lua]AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_p2282", 0, 10, true, 185, true, {})[/lua]
Thanks... however, I do not want TEAM_GUN to access it, but whenever I add the certain team... it just says I can't buy it. Thank you for the reply.
Are you sure one of your DarkRP settings aren't messing it up? Like rp_licence?
Sorry, you need to Log In to post a reply to this thread.