There is no function to turn a prop into a SWEP. [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=109724869"]This[/URL] is probably what you're looking for.
I didn't mean that. I wanted to attach props onto a swep.
There was a thread I came across with a function called "velements" or something like that.
VElements is from the SWEP Construction Kit ([url]http://www.facepunch.com/showthread.php?t=1032378[/url])
Thanks. I just wanted to learn it myself though.
I was looking for something like this.
[CODE]
SWEP.VElements = {
["hilt"] = { type = "Model", model = "models/props_vehicles/carparts_muffler01a.mdl", bone = "v_weapon.Hands_parent", rel = "back", pos = Vector(0.455, 0.455, 10.454), angle = Angle(88.976, -29.66, 0), size = Vector(0.129, 0.129, 0.129), color = Color(115, 104, 125, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
}
[/CODE]
[editline]9th February 2014[/editline]
I gave SWEP Construction Kit a shot, this tool is amazing.
Sorry, you need to Log In to post a reply to this thread.