diff options
Diffstat (limited to 'gamemode/structuresystem/structures/aaaStructureExample.lua')
| -rw-r--r-- | gamemode/structuresystem/structures/aaaStructureExample.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gamemode/structuresystem/structures/aaaStructureExample.lua b/gamemode/structuresystem/structures/aaaStructureExample.lua index abe91ba..f8abb3c 100644 --- a/gamemode/structuresystem/structures/aaaStructureExample.lua +++ b/gamemode/structuresystem/structures/aaaStructureExample.lua @@ -6,11 +6,11 @@ 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) - print("Initalize called!") + --print("Initalize called!") end --If this structure is not like every other structures of the same name (for example, if it has an internal inventory) @@ -18,5 +18,8 @@ STRUCT.uniquedata = false --Called when a player presses e on this structure, called on both the server and the client. Keep in mind that on the client side, ply may not be the local player! STRUCT.onUse = function(self,ply) - print("onUse called!") + --print("onUse called!") end + +--Don't forget to register the structure when you're done! +registerStructure(STRUCT) |
