Jump to content
  • Sign Up

Archived

This topic is now archived and is closed to further replies.

  • 0
Kelpermoon

How to run a command through a custom command

Question

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

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 New...