summaryrefslogtreecommitdiff
path: root/gamemode/structuresystem/structures
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-06-02 18:35:02 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-06-02 18:35:02 -0400
commitbb53af1930307c589f258be8e582d6765926fe78 (patch)
treea407adf854a38b822d743d5df150deab978b8ad2 /gamemode/structuresystem/structures
parent5ac62d7e27d5b18abf955a814a8dd4fb95452f1e (diff)
downloadgmstranded-development.tar.gz
gmstranded-development.tar.bz2
gmstranded-development.zip
Fixed bug with structures not showing up correctly client sidedevelopment
Diffstat (limited to 'gamemode/structuresystem/structures')
-rw-r--r--gamemode/structuresystem/structures/aaaStructureExample.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/gamemode/structuresystem/structures/aaaStructureExample.lua b/gamemode/structuresystem/structures/aaaStructureExample.lua
index abe91ba..060eba8 100644
--- a/gamemode/structuresystem/structures/aaaStructureExample.lua
+++ b/gamemode/structuresystem/structures/aaaStructureExample.lua
@@ -6,7 +6,7 @@ STRUCT = {}
STRUCT.Name = "Example Structure"
--The model for this structure.
-STRUCT.Model = "models/props/de_inferno/ClayOven.mdl"
+STRUCT.Model = "models/props_combine/breendesk.mdl"
--The initalize method. Called on both the server and the client
STRUCT.onInitialize = function(self)
@@ -20,3 +20,6 @@ STRUCT.uniquedata = false
STRUCT.onUse = function(self,ply)
print("onUse called!")
end
+
+--Don't forget to register the structure when you're done!
+registerStructure(STRUCT)