Hey guys, I got this pack from garrysmod.org [url]http://www.facepunch.com/showthread.php?t=946514[/url] I added them to my server, put a lua file in autorun/server containing.
[lua]resource.AddFile( "models/fo3_fishingpole.mdl" )
resource.AddFile( "materials/models/Jason278/dlc04fishingpole.vmt" )
[/lua]
They download fine, but when I spawn it ingame its still and error, I am using Go Fish 2 and I changed the model for the rod like this.
[lua]
function ENT:Initialize()
self.Entity:SetModel("models\fo3_fishingpole.mdl")
self.Entity:PhysicsInit(SOLID_VPHYSICS)
self.Entity:SetMoveType(MOVETYPE_VPHYSICS)
self.Entity:SetSolid(SOLID_VPHYSICS)
local phys = self.Entity:GetPhysicsObject()
if (phys:IsValid()) then
phys:Wake()
phys:SetMass(100)
end
self:SetCollisionGroup( COLLISION_GROUP_WEAPON )
end[/lua]
Why is it still showing up as an error?
[editline]09:26PM[/editline]
Thanks who helped me on steam :D, close thread please.
Sorry, you need to Log In to post a reply to this thread.