J0eJr Posted January 2, 2021 Share Posted January 2, 2021 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 More sharing options...
Thomas Die Posted January 3, 2021 Share Posted January 3, 2021 https://steamcommunity.com/sharedfiles/filedetails/?id=1365141672&searchtext=too+many+items if you intend to only do give commands, it also allows other useful commands but look at the top right of the menu to change players 1 Link to comment Share on other sites More sharing options...
J0eJr Posted January 3, 2021 Author Share Posted January 3, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now