Skip to content

Commit

Permalink
Make gtables and datasignals extensions (#2948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vurv78 authored Dec 21, 2023
1 parent b0fa290 commit 67e3cbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/gmod_wire_expression2/core/datasignal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ send the data at the same time.
Have fun!
]]

E2Lib.RegisterExtension( "datasignal", true, "Allows users to trigger remote actions on other E2s to transmit data and actions.", "Superceded by event remote" )

local groups = {}
local queue = {}

Expand Down
2 changes: 2 additions & 0 deletions lua/entities/gmod_wire_expression2/core/globalvars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ gvars v2
Made by Divran
]]

E2Lib.RegisterExtension( "gtable", true, "Allows users to create gTables to transmit data between E2 chips.", "!!! Very easy to exploit to use a ton of server memory. Superceded by event remote." )

local gvars = {}
gvars.shared = {}
gvars.safe = {} -- Safe from hacking using gTableSafe
Expand Down

0 comments on commit 67e3cbc

Please sign in to comment.