Some darkrp help please..

okay so i’m making some stuff on darkrp to my friends server but i have some problems with the weapons… everytime i set a weapon or anything else in addcustomshipment to “can be sold seperately” then citizen can buy it also when it only should be the gundealer Please help me …

http://img529.imageshack.us/i/darkrppic.png/

this is how my addentites:

AddEntity(“Drug lab”, “drug_lab”, “models/props_lab/crematorcase.mdl”, 400, 3, “/buydruglab”, {TEAM_GANG, TEAM_MOB})
AddEntity(“Microwave”, “microwave”, “models/props/cs_office/microwave.mdl”, 400, 1, “/buymicrowave”, TEAM_COOK)
AddEntity(“Gun lab”, “gunlab”, “models/props_c17/TrapPropeller_Engine.mdl”, 500, 1, “/buygunlab”, TEAM_GUN)

AddCustomShipment(“KeypadCracker”, “models/weapons/w_c4.mdl”, “keypad_cracker”, 1950, 6, true, 350, false, {TEAM_BLACK})
AddCustomShipment(“Lockpick”, “models/weapons/v_crowbar.mdl”, “lockpick”, 1500, 12, true, 200, false, {TEAM_BLACK})
AddCustomShipment(“unarrest_stick”, “models/weapons/w_stunbaton.mdl”, “unarrest_stick”, 850, 10, true, 140, false, {TEAM_BLACK})

AddCustomShipment(“Alcohol”, “models/drug_mod/alcohol_can.mdl”, “durgz_alcohol”, 450, 10, true, 50, false, {TEAM_DRUG})

AddCustomShipment(“Aspirin”, “models/jaanus/aspbtl.mdl”, “durgz_aspirin”, 1000, 10, true, 155, false, {TEAM_DRUG})
AddCustomShipment(“Cigarette”, “models/boxopencigshib.mdl”, “durgz_cigarette”, 450, 10, true, 50, false, {TEAM_DRUG})
AddCustomShipment(“Cocaine”, “models/cocn.mdl”, “durgz_cocaine”, 3600, 10, true, 400, false, {TEAM_DRUG})
AddCustomShipment(“Heroine”, “models/katharsmodels/syringe_out/syringe_out.mdl”, “durgz_heroine”, 450, 10, true, 50, false, {TEAM_DRUG})
AddCustomShipment(“Lsd”, “models/drug_mod/alcohol_can.mdl”, “durgz_lsd”, 2700, 10, true, 300, false, {TEAM_DRUG})
AddCustomShipment(“Mushroom”, “models/ipha/mushroom_small.mdl”, “durgz_mushroom”, 2800, 10, true, 200, false, {TEAM_DRUG})
AddCustomShipment(“Water”, “models/drug_mod/the_bottle_of_water.mdl”, “durgz_water”, 450, 10, true, 50, false, {TEAM_DRUG})
AddCustomShipment(“Weed”, “models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl”, “durgz_weed”, 450, 10, true, 50, false, {TEAM_DRUG})

AddCustomShipment(“M249”, “models/weapons/w_mach_m249para.mdl”, “weapon_real_cs_m249”, 6000, 10, true, 1260, false, {TEAM_BLACK})
AddCustomShipment(“Galil”, “models/weapons/w_rif_galil.mdl”, “weapon_real_cs_galil”, 4000, 10, true, 570, false, {TEAM_BLACK})
AddCustomShipment(“AK47”, “models/weapons/w_rif_ak47.mdl”, “weapon_real_cs_ak47”, 4000, 10, true, 620, false, {TEAM_BLACK})
AddCustomShipment(“M4A1”, “models/weapons/w_rif_m4a1.mdl”, “weapon_real_cs_m4a1”, 3900, 10, true, 620, false, {TEAM_GUN})
AddCustomShipment(“Famas”, “models/weapons/w_rif_famas.mdl”, “weapon_real_cs_famas”, 3900, 10, true, 510, false, {TEAM_GUN})
AddCustomShipment(“AWP”, “models/weapons/w_snip_awp.mdl”, “weapon_real_cs_awp”, 5000, 10, true, 820, false, {TEAM_GUN})
AddCustomShipment(“Scout”, “models/weapons/w_snip_scout.mdl”, “weapon_real_cs_scout”, 4500, 10, true, 750, false, {TEAM_GUN, TEAM_BLACK})
AddCustomShipment(“SteyrAug”, “models/weapons/w_rif_aug.mdl”, “weapon_real_cs_aug”, 4000, 10, true, 730, true, {TEAM_GUN})
AddCustomShipment(“SG552”, “models/weapons/w_rif_sg552.mdl”, “weapon_real_cs_sg552”, 4000, 10, true, 710, false, {TEAM_GUN})
AddCustomShipment(“G3SG1”, “models/weapons/w_snip_g3sg1.mdl”, “weapon_real_cs_g3sg1”, 4000, 10, true, 710, false, {TEAM_GUN})
AddCustomShipment(“SG550”, “models/weapons/w_snip_sg550.mdl”, “weapon_real_cs_sg550”, 4000, 10, true, 710, false, {TEAM_GUN})
AddCustomShipment(“UMP45”, “models/weapons/w_smg_ump45.mdl”, “weapon_real_cs_ump_45”, 3600, 10, true, 645, false, {TEAM_GUN})
AddCustomShipment(“P90”, “models/weapons/w_smg_p90.mdl”, “weapon_real_cs_p90”, 3500, 10, true, 770, false, {TEAM_GUN})
AddCustomShipment(“TMP”, “models/weapons/w_smg_tmp.mdl”, “weapon_real_cs_tmp”, 3500, 10, true, 530, false, {TEAM_GUN})
AddCustomShipment(“MP5”, “models/weapons/w_smg_mp5.mdl”, “weapon_real_cs_mp5a5”, 3200, 10, true, 640, false, {TEAM_GUN})
AddCustomShipment(“Mac10”, “models/weapons/w_smg_mac10.mdl”, “weapon_real_cs_mac10”, 3000, 10, true, 640, false, {TEAM_BLACK})
AddCustomShipment(“AutoShotgun”, “models/weapons/w_shot_xm1014.mdl”, “weapon_real_cs_xm1014”, 3000, 10, true, 1050, false, {TEAM_BLACK})
AddCustomShipment(“Shotgun”, “models/weapons/w_shot_m3super90.mdl”, “weapon_real_cs_pumpshotgun”, 2500, 10, true, 740, false, {TEAM_GUN})
AddCustomShipment(“DualElites”, “models/weapons/w_pist_elite_dropped.mdl”, “weapon_real_cs_elites”, 2300, 10, true, 250, false, {TEAM_GUN})
AddCustomShipment(“Deagle”, “models/weapons/w_pist_deagle.mdl”, “weapon_real_cs_desert_eagle”, 2300, 10, true, 350, false, {TEAM_GUN})
AddCustomShipment(“USP”, “models/weapons/w_pist_usp.mdl”, “weapon_real_cs_usp”, 2200, 10, true, 240, false, {TEAM_GUN})
AddCustomShipment(“P228”, “models/weapons/w_pist_p228.mdl”, “weapon_real_cs_p228”, 2100, 10, true, 220, false, {TEAM_GUN})
AddCustomShipment(“Glock”, “models/weapons/w_pist_glock18.mdl”, “weapon_real_cs_glock18”, 2000, 10, true, 210, false, {TEAM_GUN})
AddCustomShipment(“FiveSeven”, “models/weapons/w_pist_fiveseven.mdl”, “weapon_real_cs_five-seven”, 1900, 10, true, 200, false, {TEAM_GUN})
AddCustomShipment(“Knife”, “models/weapons/w_knife_t.mdl”, “weapon_real_cs_knife”, 2000, 10, true, 125, false, {TEAM_GUN})

AddEntity(“Pot Plant”, “weed_plant”, “models/nater/weedplant_pot_planted.mdl”, 75, 5, “/buyweed”, {TEAM_GANG, TEAM_MOB, TEAM_DRUG})
AddEntity(“Seed”, “seed_weed”, “models/weapons/w_bugbait.mdl”, 150, 15, “/buyseed”, {TEAM_GANG, TEAM_MOB, TEAM_DRUG})

/*
How to add custom vehicles:
FIRST
go ingame, type rp_getvehicles for available vehicles!
then:
AddCustomVehicle(<One of the vehicles from the rp_getvehicles list>, <Model of the vehicle>, <Price of the vehicle>, <OPTIONAL jobs that can buy the vehicle>)
Examples:
AddCustomVehicle(“Jeep”, “models/buggy.mdl”, 100 )
AddCustomVehicle(“Airboat”, “models/airboat.mdl”, 600, {TEAM_GUN})
AddCustomVehicle(“Airboat”, “models/airboat.mdl”, 600, {TEAM_GUN, TEAM_MEDIC})

Add those lines under your custom shipments. At the bottom of this file or in data/CustomShipments.txt

HOW TO ADD CUSTOM SHIPMENTS:
AddCustomShipment("<Name of the shipment(no spaces)>"," <the model that the shipment spawns(should be the world model…)>", “<the classname of the weapon>”, <the price of one shipment>, <how many guns there are in one shipment>, <OPTIONAL: true/false sold seperately>, <OPTIONAL: price when sold seperately>, < true/false OPTIONAL: /buy only = true> , OPTIONAL which classes can buy the shipment, OPTIONAL: the model of the shipment)

Notes:
MODEL: you can go to Q and then props tab at the top left then search for w_ and you can find all world models of the weapons!
CLASSNAME OF THE WEAPON
there are half-life 2 weapons you can add:
weapon_pistol
weapon_smg1
weapon_ar2
weapon_rpg
weapon_crowbar
weapon_physgun
weapon_357
weapon_crossbow
weapon_slam
weapon_bugbait
weapon_frag
weapon_physcannon
weapon_shotgun
gmod_tool

But you can also add the classnames of Lua weapons by going into the weapons/ folder and look at the name of the folder of the weapon you want.
Like the player possessor swep in addons/Player Possessor/lua/weapons You see a folder called weapon_posessor
This means the classname is weapon_posessor

YOU CAN ADD ITEMS/ENTITIES TOO! but to actually make the entity you have to press E on the thing that the shipment spawned, BUT THAT’S OK!
YOU CAN MAKE GUNDEALERS ABLE TO SELL MEDKITS!

true/false: Can the weapon be sold seperately?(with /buy name) if you want yes then say true else say no

the price of sold seperate is the price it is when you do /buy name. Of course you only have to fill this in when sold seperate is true.

EXAMPLES OF CUSTOM SHIPMENTS(remove the // to activate it): */

//AddCustomShipment(“HL2pistol”, “models/weapons/W_pistol.mdl”, “weapon_pistol”, 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC})

–EXAMPLE OF AN ENTITY(in this case a medkit)
–AddCustomShipment(“bball”, “models/Combine_Helicopter/helicopter_bomb01.mdl”, “sent_ball”, 100, 10, false, 10, false, {TEAM_GUN}, “models/props_c17/oildrum001_explosive.mdl”)
–EXAMPLE OF A BOUNCY BALL: NOTE THAT YOU HAVE TO PRESS E REALLY QUICKLY ON THE BOMB OR YOU’LL EAT THE BALL LOL
–AddCustomShipment(“bball”, “models/Combine_Helicopter/helicopter_bomb01.mdl”, “sent_ball”, 100, 10, true, 10, true)
– ADD CUSTOM SHIPMENTS HERE(next line):

I think it’s one of the true-false values. I can’t be assed to check for the error, you should be able to fix this on your own, but, I’d try to change them to see if the results are different, that’s a common case to why this happens.

i just saw on it and it’s look like darkrp is just made that way = made on a stupid way

Nope, I got team-specific shipments. No need to be a jerk to the authors, you’d never get close to a gamemode such as this.