Hello, i'm french so excuse me for my poor english. I found a minimap addon on the workshop which was really basic, so i decided to modify it a little bit.Here is my code:
local CamData = {}
CamData.angles = Angle(90,LocalPlayer():EyeAngles().yaw,0)
CamData.origin = LocalPlayer():GetPos() + Vector(0,0,500)
CamData.x = 1324
CamData.y = 20
CamData.w = 250
CamData.h = 250
LocalPlayer():GetViewModel():SetNoDraw(true)
render.RenderView( CamData )
The problem is that I can't see my playermodel, i can only see my arms when i use:
LocalPlayer():GetViewModel():SetNoDraw(false)
A small thing I discovered is that the minimap shows my playermodel when i'm in thirdperson.
So I would need help, thanks
CamData Structure
http://tmp.bz/m0CVxecaAV.png
I already found this on the wiki but it doesn't change anything. True or false don't show or hide the playermodel and the arms of the player.
local CamData = {}
CamData.angles = Angle(90,LocalPlayer():EyeAngles().yaw,0)
CamData.origin = LocalPlayer():GetPos() + Vector(0,0,500)
CamData.x = 1324
CamData.y = 20
CamData.w = 250
CamData.h = 250
CamData.drawviewer = true
render.RenderView( CamData )
Sorry, you need to Log In to post a reply to this thread.