Garry's Mod

Garry's Mod

Wings
OmerRDT 2014 年 7 月 11 日 下午 2:55
Codes for it for a server
i want my firend to add this to his server but he said he need codes for it so it will fit correctly and function with it without crashing peoples games pls if someone can make it for me
< >
正在显示第 1 - 2 条,共 2 条留言
zeth 2014 年 7 月 27 日 下午 6:07 
ITEM.Name = 'White Wings' ITEM.Price = 500 ITEM.Model = 'models/wings/wings_folded.mdl' ITEM.Bone = 'ValveBiped.Bip01_Spine2' function ITEM:OnEquip(ply, modifications) ply:PS_AddClientsideModel(self.ID) end function ITEM:OnHolster(ply) ply:PS_RemoveClientsideModel(self.ID) end function ITEM:ModifyClientsideModel(ply, model, pos, ang) model:SetModelScale(0.7, 0) pos = pos + (ang:Forward() * -29) + (ang:Right() * -2) + (ang:Up() * 0) ang:RotateAroundAxis(ang:Right(), 270) ang:RotateAroundAxis(ang:Forward(), 0) ang:RotateAroundAxis(ang:Up(), 90) return model, pos, ang end

I do not know how to make them black though, ITEM.Material and then placing the line for black .vmt doesn't seem to work. :/
OmerRDT 2014 年 7 月 28 日 上午 9:38 
引用自 Glada_Laxen
ITEM.Name = 'White Wings' ITEM.Price = 500 ITEM.Model = 'models/wings/wings_folded.mdl' ITEM.Bone = 'ValveBiped.Bip01_Spine2' function ITEM:OnEquip(ply, modifications) ply:PS_AddClientsideModel(self.ID) end function ITEM:OnHolster(ply) ply:PS_RemoveClientsideModel(self.ID) end function ITEM:ModifyClientsideModel(ply, model, pos, ang) model:SetModelScale(0.7, 0) pos = pos + (ang:Forward() * -29) + (ang:Right() * -2) + (ang:Up() * 0) ang:RotateAroundAxis(ang:Right(), 270) ang:RotateAroundAxis(ang:Forward(), 0) ang:RotateAroundAxis(ang:Up(), 90) return model, pos, ang end

I do not know how to make them black though, ITEM.Material and then placing the line for black .vmt doesn't seem to work. :/
my friend trid to add it it dident work its a deathrun server so you will know and it dident work
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50