Author Topic: Need help with custom ulx command giving weapon  (Read 2408 times)

0 Members and 3 Guests are viewing this topic.

Offline richardhammond

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Need help with custom ulx command giving weapon
« on: October 27, 2018, 10:39:51 PM »
My ULib/ULX versions:
ULib v2.63
ULX v3.73


Hey, Im tryin to make a command that will give a the ply player gmod_Tool and weapon_physgun

The commands is, !tools john (for example)

I need a bit of help please

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help with custom ulx command giving weapon
« Reply #1 on: October 28, 2018, 11:00:08 AM »
Releases - ULX Give
https://forums.ulyssesmod.net/index.php/topic,7223.0.html

You could pretty easily modify that command to cycle through the table and give both tools you want instead of declaring which ones individually.
If you need assistance with your code or attempts, use the Developers Corner section of the forum to ask for help, show the code, and what errors you're getting.
« Last Edit: October 28, 2018, 11:01:54 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming