General > Developers Corner

Custom chat command aliases for console commands

<< < (3/7) > >>

iViscosity:
You'd think a member of the staff would be confident :O

:)

Chiller252:
Thanks so much regardless. This will definitely help make the front-end more user-friendly.

Chiller252:
Okay I have everything in the right locations and when I execute the chat command it responds with: "You do not have access to this command, ???Chiller252."
I'm not entirely sure how to change this so that it is allowed for all players.

Also, do I have to create another instance of the line of code for more aliases for the same command, or can I do this:?


--- Code: ---ULib.addSayCommand( "!playermodel", "!model", function(ply, func, args) ply:ConCommand("playermodel_selector") end, "" )

--- End code ---
I don't imagine this works when looking at the syntax on .addSayCommand

iViscosity:
Which code did you use? Mine or Stickly Man!'s?

Chiller252:
I just updated my last post, I am attempting to use something similar to  Stickly Man!'s

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version