18 lines
447 B
Lua
18 lines
447 B
Lua
|
local serverM, server = {}, {}
|
||
|
serverM.__index = function(args, args2)
|
||
|
local func = [[
|
||
|
local args = { ... }
|
||
|
local conn = "]]
|
||
|
.. args2 .. [["
|
||
|
print("Running this function: " .. conn)
|
||
|
print(...)
|
||
|
return true
|
||
|
]]
|
||
|
local fun, err = loadstring(func)
|
||
|
return fun
|
||
|
end
|
||
|
|
||
|
setmetatable(server, serverM)
|
||
|
server.call = function() print "meh" end
|
||
|
server.rpc("have", "you", "heard", "of", "the", "tragedy", "of", "darth", "plageius", "the", "wise")
|