aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/npcmap/sv_npcmap.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-01-08 22:28:08 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-01-08 22:28:08 -0500
commit98e0462e4f6b13ff26af5211409352d45dd9453e (patch)
treefbff14dc9a0fffdda409d9989f2e34cd4bb265f6 /gamemode/core/npcmap/sv_npcmap.lua
parent4879eb1d78520ce0ac9b0bb0ef5244cf65ad7c99 (diff)
downloadartery-98e0462e4f6b13ff26af5211409352d45dd9453e.tar.gz
artery-98e0462e4f6b13ff26af5211409352d45dd9453e.tar.bz2
artery-98e0462e4f6b13ff26af5211409352d45dd9453e.zip
Add a ton of icons, more work on refactoring
Diffstat (limited to 'gamemode/core/npcmap/sv_npcmap.lua')
-rw-r--r--gamemode/core/npcmap/sv_npcmap.lua22
1 files changed, 0 insertions, 22 deletions
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