diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-11-27 22:02:47 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-11-27 22:02:47 -0500 |
| commit | 2c4329e2b6e19182a441f79a5c3010011f8ae767 (patch) | |
| tree | e4d8cd88690bed4cfacf2d4df39bdeed97b376f8 /gamemode/client/cl_npcmap.lua | |
| parent | 5f2a8015bd5d2a42e79038bb52f20260d8d97ba0 (diff) | |
| download | artery-2c4329e2b6e19182a441f79a5c3010011f8ae767.tar.gz artery-2c4329e2b6e19182a441f79a5c3010011f8ae767.tar.bz2 artery-2c4329e2b6e19182a441f79a5c3010011f8ae767.zip | |
Vairous updates
Diffstat (limited to 'gamemode/client/cl_npcmap.lua')
| -rw-r--r-- | gamemode/client/cl_npcmap.lua | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gamemode/client/cl_npcmap.lua b/gamemode/client/cl_npcmap.lua deleted file mode 100644 index 784ca45..0000000 --- a/gamemode/client/cl_npcmap.lua +++ /dev/null @@ -1,24 +0,0 @@ - -local drawmap = false -hook.Add( "ScoreboardShow", "ShowNPCMap", function() - print("Showing npc map") - drawmap = true - return true -end ) -hook.Add( "ScoreboardHide", "ShowNPCMap", function() - print("Hiding npc map") - drawmap = false -end ) -local white = Color( 255, 255, 255, 255 ) - -hook.Add( "HUDPaint", "paintsprites", function() - if drawmap then - LocalPlayer().MapIcons = LocalPlayer().MapIcons or {} - cam.Start3D() - for k,v in pairs(LocalPlayer().MapIcons) do - render.SetMaterial( v.material ) - render.DrawSprite( v.pos, 64, 64, white ) - end - cam.End3D() - end -end ) |
