I keep getting this glitch and I really have no idea how to fix it:
[img]http://img707.imageshack.us/img707/6408/hl22010061301213510.png[/img]
And here is my code:
[lua]local function Unlockables()
winunl = vgui.Create( "DFrame" )
winunl:SetSize( 315, math.floor( ScrH() * 0.3 ) )
winunl:Center()
winunl:SetTitle( "Unlockables" )
winunl:SetVisible( true )
winunl:SetDraggable( true )
winunl:ShowCloseButton( true )
winunl:MakePopup()
local icon = vgui.Create( "DModelPanel", winunl )
icon:SetModel( LocalPlayer():GetModel() )
icon:SetPos( 100, 100 )
icon:SetSize( 200, 200 )
icon:SetCamPos( Vector( 70, 80, 60 ) )
icon:SetLookAt( Vector( 0, 0, 0 ) )
end[/lua]
Set the Z position on the SetCamPos higher, then you should see the rest of the model
So instead of this
[lua]icon:SetCamPos( Vector( 70, 80, 60 ) )[/lua]
Do this
[lua]icon:SetCamPos( Vector( 70, 80, 80 ) )[/lua]
try to set the CamPos to 50, 50, 50
Worked, Thanks.
Which one worked, mine or his?
[QUOTE=LuckyLuke;22642268]Which one worked, mine or his?[/QUOTE]
Why does it matter? You both told him to do the same thing but with different numbers.
Sorry, you need to Log In to post a reply to this thread.