• adding weapons?
    0 replies, posted
when it comes to LUA, yes, i am a noob. i have been trying to add weapons form this mod: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=143193342[/url] to the F4 menu for my DarkRP server. the problem im having is that when added, the entire weapon section just disappears. if anything im just looking for someone to point out my mistake. i have added the ammo for them successfully, but the weapons simply don't want to work for me. EDIT: also, im not sure if this is relevant but i did remove some of the default buyable weapons from the F4 menu. i would also like to ask if adding the scopes (which are entities) to the shop later on would be a problem. AddCustomShipment("m1911", { model = "Models\weapons\v_pist_cm1911.mdl", entity = "cstm_pistol_m1911", price = 600, amount = 10, separate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("HK USP", { model = "Models\weapons\v_pist_u45.mdll", entity = "cstm_pistol_usp45", price = 1000, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Dual Deagles", { model = "Models\weapons\v_pist_deags.mdl", entity = "cstm_pistol_dualdeagles", price = 2100, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} }) AddCustomShipment("Dual Uzi's", { model = "Models\weapons\v_pist_mc10s.mdl", entity = "cstm_pistol_dualmac10s", price = 2500, amount = 10, seperate = false, pricesep = nil, noship = false, allowed = {TEAM_GUN} FIXED: i found out that you cant use v_ models for the model.
Sorry, you need to Log In to post a reply to this thread.