Closed Nogitsu9 closed 5 years ago
Try storing the p
property inside the entity (ie self
). Right now you're creating a new one each frame since p is nil at the point where you do local p = tdui.Create() or p
Thanks that was just this small detail.. Thanks again !
When I add a button the cursor doesn't show and I can't even press the button..
function ENT:Draw() self:DrawModel() local ang = self:GetAngles() ang:RotateAroundAxis( self:GetUp(), 180 ) ang:RotateAroundAxis( self:GetRight(), 90 )
end