ULX

Author Topic: Regarding the creation of a custom command  (Read 1812 times)

0 Members and 1 Guest are viewing this topic.

Offline [GL] KoreanBiscuit

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Regarding the creation of a custom command
« on: October 27, 2018, 06:58:35 PM »
Hello I am trying to create my first custom ULX command and I have no idea I am very new to LUA and know the basics and was wondering how to set it up to make a command semi cloak a player god the player as well as gag & mute them I'm not sure how to make a command with more than one command built into it sorry!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Regarding the creation of a custom command
« Reply #1 on: October 27, 2018, 07:50:04 PM »
What code have you tried?
What errors are you getting?

Our github has all the code you need, separated into individual functions of course, that you could combine into a single command.
Within that single command you could call the ULX functions individually, or, longer but would work, use the code from within all of those functions.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming