Okay, so I want to modify TTT's default weapons, I have tried editing the files themselves but they eventually just get overwritten. Here's an example of what I have, and what i'm trying to do.
[CODE]hook.Add("PlayerSpawn", "Override M16", function (ply)
local wep = weapons.GetStored("weapon_ttt_m16");
if wep != nil then
wep.ViewModel = Model("models/weapons/v_c4_m4a1.mdl");
wep.Primary.Sound = "Weapon_CM4.Fire";
end
end);[/CODE]
Sorry, you need to Log In to post a reply to this thread.