ULX

Author Topic: Custom commands  (Read 2325 times)

0 Members and 2 Guests are viewing this topic.

Offline Wain

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Custom commands
« on: August 11, 2017, 07:02:10 AM »
Game mode(s) I am having this problem on: Zombie Survival

Could someone teach me how to make custom commands?
I want make custom commands for Zombie Survial.
Would be nice if someone could help.


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Custom commands
« Reply #1 on: August 11, 2017, 08:41:20 AM »
I'd recommend starting by looking at existing custom commands. No one's going to help you before you show some effort on your part.
Experiencing God's grace one day at a time.

Offline Wain

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: Custom commands
« Reply #2 on: August 11, 2017, 10:57:08 AM »
I already did it... I tried to make a custom command by my own. I looked into the normal commands and tried it by my own but without success.
I just wanted to make a command that unnails the nails from the target.

Offline Vaporouscreeper

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • TheBox steam group
Re: Custom commands
« Reply #3 on: March 24, 2018, 08:07:34 PM »
Try looking at the custom functions like teleport.lua that is located in GarrysMod/garrysmod/addons/ulx/lua/ulx/modules/sh
I'm a Moderator on a server called TheBox. and i'm mostly active on it