• Mini Map Troubles
    2 replies, posted
[lua] function Minimap() surface.SetDrawColor( 0, 0, 0, 255 ) surface.DrawOutlinedRect( 15, 15, 102, 102 ) local camd = {} camd.angles = Angle( 90, 0, 0 ) camd.origin = LocalPlayer():GetPos() + Vector( 0, 0, 1200 ) camd.x = 16 camd.y = 16 camd.w = 100 camd.h = 100 camd.drawhud = false render.RenderView( camd ) end hook.Add("HUDPaint", "Minimap", Minimap); [/lua] So this mini map works, but I was wondering how I would have players show up on it, all you see is a floating gun. Thanks in advance, I'm bad at clientside shit D: [url]http://gyazo.com/47dc4b585e405310087d56bddf7706b6[/url]
[url]http://wiki.garrysmod.com/page/GM/ShouldDrawLocalPlayer[/url]?
[QUOTE=RonanZer0;46119525][url]http://wiki.garrysmod.com/page/GM/ShouldDrawLocalPlayer[/url]?[/QUOTE] This makes the player's view go thirdperson-ish
Sorry, you need to Log In to post a reply to this thread.