Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
573 B
4
Indexable
hook.Add('PlayerSpawnedProp', 'FABLEZONESUPERACSDASAS', function (ply,model,ent)
    if (ent:GetModelScale() != 1) then
        ent:Remove()
        ply:Kick("bandyta_ktory_crashuje")
    end
end)

hook.Add("PlayerSpawnedProp", "VisualScaleFix", function(ply, model, ent)
    ScaleV = ent:GetManipulateBoneScale(0)
    if (ScaleV != Vector(1,1,1) ) then
--        ent:ManipulateBoneScale(0,Vector(1,1,1))
        ent:Remove()
        ply:Kick("bandyta_ktory_crashuje")
    end
end)

//wpierdol do addons/chujwieco/lua/autorun/tutaj lub w addons/chujwieco/lua/autorun/server