From 98e0462e4f6b13ff26af5211409352d45dd9453e Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 8 Jan 2017 22:28:08 -0500 Subject: Add a ton of icons, more work on refactoring --- gamemode/core/npcmap/sv_npcmap.lua | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 gamemode/core/npcmap/sv_npcmap.lua (limited to 'gamemode/core/npcmap/sv_npcmap.lua') diff --git a/gamemode/core/npcmap/sv_npcmap.lua b/gamemode/core/npcmap/sv_npcmap.lua deleted file mode 100644 index 8368484..0000000 --- a/gamemode/core/npcmap/sv_npcmap.lua +++ /dev/null @@ -1,22 +0,0 @@ -if CLIENT then error("You're not supposed to be here!") end -local pmeta = FindMetaTable("Player") - -util.AddNetworkString("addmapicon") -util.AddNetworkString("addmaparea") - -function pmeta:AddMapIcon(icon,subarea,position) - print("adding map icon") - net.Start("addmapicon") - net.WriteString(icon) - net.WriteString(subarea) - net.WriteVector(position) - net.Send(self) -end - -function pmeta:AddMapArea(icon,subarea,bordertbl) - print("adding area") - net.Start("addmaparea") - net.WriteString(icon) - net.WriteString(subarea) - net.WriteTable(bordertbl) -end -- cgit v1.2.3-70-g09d2