Jump to content

How do i run console commands for a specific player


Recommended Posts

I am trying to make a mod that allows me to allow certain players to run certain console commands via / I need to figure out how to make only the players I allow to use the commands and how to run the commands
i need to do stuff such as /runcommand c_give("ITEM")

Link to comment
Share on other sites

I actually looked into the code for this the problem is my basic understanding of Lua doesn't allow me to have a / command for running a console command and I intend to use this on non-dedicated servers so I cant  just use admin.txt and give the user admin and let them use the console with there admin I am ok with having to edit the code to add/remove user

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...