Author Topic: A !fspec for prop hunt  (Read 2531 times)

0 Members and 1 Guest are viewing this topic.

Offline DJTapDatZombie

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
A !fspec for prop hunt
« on: January 21, 2018, 12:01:17 AM »
Hello, I am looking for a script for PH Enhanced or Prop Hunt script to force players into the Spectator team.
Wondering if anyone could help me out.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: A !fspec for prop hunt
« Reply #1 on: January 21, 2018, 08:00:07 AM »
Good basis for learning Gmod lua, and ulx command structure here - https://forums.ulyssesmod.net/index.php/topic,9254.0.html
Much of the command is written out for you, just need to tweak it to correct using target_ply.
Though another gamemode is mentioned, I presume TEAM_SPECTATOR is universal among most.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DJTapDatZombie

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: A !fspec for prop hunt
« Reply #2 on: January 22, 2018, 10:40:17 AM »
Honestly surprised I didn't even see that thread. Really surprised, I must of been really tired, haha.


Edit: Having trouble with getting any of the code to work for the game mode.
« Last Edit: January 22, 2018, 05:13:47 PM by DJTapDatZombie »