Author Topic: Ulx admin works but in game when i try to load lua's etc it says im not server..  (Read 3177 times)

0 Members and 1 Guest are viewing this topic.

Jinzo

  • Guest
Okay, I have a wierd issue. ULX works fine and dandy, but when i try to use like the default admin tab. and say change it so player dmg is off in the console it says im not a server operator? I know I can do that option with ulx, but why cant i use the mods etc i have to do it? Also when i try to load up LUA scripts it also says im not a server operator.  I'm running a dedicated server btw. I dont have this issue when i run Lan.

Must be some kind of server operator admin settings i have to get into or something? but where do i locate that file etc?

Jinzo

  • Guest
Oh and another thing, I know how to use Rcon_password then how to get the whole rcon access etc, but that does not change the fact that i cant fix the Server operator thing.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
That's GMod, it won't let anyone but the server console run lua commands directly.
Experiencing God's grace one day at a time.

Jinzo

  • Guest
Ya okay, that explains that.. But what about the Admin menu when you push Q.. the admin part.. like changing player dmg from that.. or wind..gravity etc.. That doesent work either?

When i run a listen server i can do those commands just fine.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
you can use ulx_rcon to do all of this...

ulx_rcon lua _PlayerGiveSWEP(1,"blah.lua")

(Yes, ulx_lua works too)

And for the menu, you need to edit it to have ulx_rcon infront of al lthe commands.