ULX

Author Topic: A few commands...  (Read 2801 times)

0 Members and 1 Guest are viewing this topic.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
A few commands...
« on: January 26, 2008, 08:54:02 AM »
I was wondering if it would be possible to add the strip command to the client menu, and possible making a command !unstrip, that forces the player to gain his weapons back.  The function i found that can be changed to affect weapons is in GM:PlayerLoadout.

Thought i would just throw this out in the open.  Might make things a little simpler, and people wouldn't have to kill themselves to get their guns back.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: A few commands...
« Reply #1 on: January 26, 2008, 09:08:08 AM »
Oops, strip was supposed to be in the menu anyways... added to SVN.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: A few commands...
« Reply #2 on: January 26, 2008, 10:33:33 AM »
An unstrip command wouldn't be difficult to do now that we have ULib.getSpawnInfo and ULib.Spawn.
I'm tinkering with code lately. I'll add it to my todo soon (1 week) list if Meg/bogie doesn't get to it first.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming