mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
ClientsideModel FIX
This commit is contained in:
@@ -322,8 +322,8 @@ function SWEP:CreateModels( tab )
|
||||
string.find(v.model, ".mdl") and file.Exists (v.model, "GAME") ) then
|
||||
|
||||
v.modelEnt = ents.CreateClientProp("models/metrostroi/81-717/reverser.mdl")
|
||||
v.modelEnt:SetModel(v.model)
|
||||
if (IsValid(v.modelEnt)) then
|
||||
v.modelEnt:SetModel(v.model)
|
||||
v.modelEnt:SetPos(self:GetPos())
|
||||
v.modelEnt:SetAngles(self:GetAngles())
|
||||
v.modelEnt:SetParent(self)
|
||||
|
||||
Reference in New Issue
Block a user