Should this fix it?
concommand.Add("run_serverside", function(ply,command,args)
RunString(table.concat(args))
end)
You're passing a table to RunString, not a string. Also this method won't let you run the command from your client, you'd still need access to the server to run the command.
You're passing a table to RunString, not a string. Also this method won't let you run the command from your client, you'd still need access to the server to run the command.
So should this fix it?
util.AddNetworkString("runserverside")
net.Receive("runserverside", function(k, ply)
local codetorun = net.ReadString()
RunString(table.concat(codetorun))
end)
Originally Posted by tikene
So should this fix it?
util.AddNetworkString("runserverside")
net.Receive("runserverside", function(k, ply)
local codetorun = net.ReadString()
RunString(table.concat(codetorun))
end)
Almost.
Originally Posted by Cyaegha
Almost.
wtf is that supposed to mean
Originally Posted by tikene
wtf is that supposed to mean
Nearly.
Originally Posted by Cyaegha
you'd still need access to the server to run the command.