Jump to content
  • Sign Up
  • 0

How to run a command through a custom command


Alright so, I'm having some trouble setting up a custom command that is supposed to run a very specific command. I'm using it to allow players to switch between ranks without giving permission to make themselves something i dont want them to be like an operator or something like that. My current approach is trying to make it run via the console I have had little success and even less sleep. If anyone can give any advice or a piece of code that run commands in the server console, I would really appreciate it.

Share this post

Link to post

2 answers to this question

Recommended Posts

  • 0
10 hours ago, 123DontMessWitMe said:

Here is a quick one liner

Command.Find("SetRank").Use(Player.Console, p.name + " " + "RankToSetThemTo" + " " + "Reason For Rank");


Thank you so much!

Share this post

Link to post

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

  • Create New...