How to add CSS Realistic Weapons 4.0 to DarkRP

The title pretty much says it all, i wonder how to add CSS Realistic Weapons to my DarkRP Server + Shipments.
Thx

  1. Drag and drop the CSS Realistic Addon pack into you’re addons folder of your server.

  2. Browse to the following directory: garrysmod/gamemodes/darkrp/gamemode

  3. Find and open the addentities.lua file for editing

  4. Paste the following into the file: If you already see lines similar to these that have to do with weapons, delete them and replace them with these
    [lua]AddCustomShipment(“M249”, “models/weapons/w_mach_m249para.mdl”, “weapon_real_cs_m249”, 10000, 10, true, 1000, false, {TEAM_GUN})
    AddCustomShipment(“Galil”, “models/weapons/w_rif_galil.mdl”, “weapon_real_cs_galil”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“AK47”, “models/weapons/w_rif_ak47.mdl”, “weapon_real_cs_ak47”, 10000, 10, true, 1000, false, {TEAM_GUN})
    AddCustomShipment(“M4A1”, “models/weapons/w_rif_m4a1.mdl”, “weapon_real_cs_m4a1”, 10000, 10, true, 1000, false, {TEAM_GUN})
    AddCustomShipment(“Famas”, “models/weapons/w_rif_famas.mdl”, “weapon_real_cs_famas”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“AWP”, “models/weapons/w_snip_awp.mdl”, “weapon_real_cs_awp”, 15000, 10, true, 1500, false, {TEAM_GUN})
    AddCustomShipment(“Scout”, “models/weapons/w_snip_scout.mdl”, “weapon_real_cs_scout”, 12000, 10, true, 1200, false, {TEAM_GUN})
    AddCustomShipment(“SteyrAug”, “models/weapons/w_rif_aug.mdl”, “weapon_real_cs_aug”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“SG552”, “models/weapons/w_rif_sg552.mdl”, “weapon_real_cs_sg552”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“G3SG1”, “models/weapons/w_snip_g3sg1.mdl”, “weapon_real_cs_g3sg1”, 10000, 10, true, 1000, false, {TEAM_GUN})
    AddCustomShipment(“SG550”, “models/weapons/w_snip_sg550.mdl”, “weapon_real_cs_sg550”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“UMP45”, “models/weapons/w_smg_ump45.mdl”, “weapon_real_cs_ump_45”, 8000, 10, true, 800, false, {TEAM_GUN})
    AddCustomShipment(“P90”, “models/weapons/w_smg_p90.mdl”, “weapon_real_cs_p90”, 8000, 10, true, 800, false, {TEAM_GUN})
    AddCustomShipment(“TMP”, “models/weapons/w_smg_tmp.mdl”, “weapon_real_cs_tmp”, 7000, 10, true, 700, false, {TEAM_GUN})
    AddCustomShipment(“MP5”, “models/weapons/w_smg_mp5.mdl”, “weapon_real_cs_mp5a5”, 8000, 10, true, 800, false, {TEAM_GUN})
    AddCustomShipment(“Mac10”, “models/weapons/w_smg_mac10.mdl”, “weapon_real_cs_mac10”, 7500, 10, true, 750, false, {TEAM_GUN})
    AddCustomShipment(“AutoShotgun”, “models/weapons/w_shot_xm1014.mdl”, “weapon_real_cs_xm1014”, 11000, 10, true, 1100, false, {TEAM_GUN})
    AddCustomShipment(“M3 Shotgun”, “models/weapons/w_shot_m3super90.mdl”, “weapon_real_cs_pumpshotgun”, 9000, 10, true, 900, false, {TEAM_GUN})
    AddCustomShipment(“Deagle”, “models/weapons/w_pist_deagle.mdl”, “weapon_real_cs_desert_eagle”, 7500, 10, true, 750, false, {TEAM_GUN})
    AddCustomShipment(“USP”, “models/weapons/w_pist_usp.mdl”, “weapon_real_cs_usp”, 6000, 10, true, 600, false, {TEAM_GUN})
    AddCustomShipment(“P228”, “models/weapons/w_pist_p228.mdl”, “weapon_real_cs_p228”, 5500, 10, true, 550, false, {TEAM_GUN})
    AddCustomShipment(“Glock”, “models/weapons/w_pist_glock18.mdl”, “weapon_real_cs_glock18”, 5000, 10, true, 500, false, {TEAM_GUN})
    AddCustomShipment(“FiveSeven”, “models/weapons/w_pist_fiveseven.mdl”, “weapon_real_cs_five-seven”, 4500, 10, true, 450, false, {TEAM_GUN})
    AddCustomShipment(“Knife”, “models/weapons/w_knife_t.mdl”, “weapon_real_cs_knife”, 2500, 10, true, 250, false, {TEAM_GUN})[/lua]

  5. Restart your server.

This will allow shipments and single guns to be purchased from the F4 menu through gun dealers only.
Reply back if you are unsure with what you are doing, and I can help you out a bit more.

Thx worked :), but i got a bug i cant see my job, salary etc, its just blank, in the left down corner. why is it like this?
i use latest DarkRP SVN version

for me it didnt add shipment when i buy something it buys only one gun what do i do?


(User was banned for this post ("dumb bump" - postal))

Nice job necro-bumping.