MapPropList = {} function GM:GetMapProps() local Props = {} local MapProps = {} for k,v in pairs( ents.FindByClass("prop_*")) do if v:IsValid() and v != nil then table.insert(Props,v) //MapProps[k].Ent = v //MapProps[k].Pos = v:GetPos() + Vector(0,0,5) //MapProps[k].Ang = v:GetAngles() //Msg(tostring(v:GetPos())..tostring(v:GetAngles())) end end for k,v in pairs(Props) do MapProps[k].Ent = Props[k] MapProps[k].Pos = v:GetPos() + Vector(0,0,5) MapProps[k].Ang = v:GetAngles() Msg(tostring(v:GetPos())..tostring(v:GetAngles())) end return MapProps end