Author Topic: Freeze players with the phys-gun.  (Read 2663 times)

0 Members and 2 Guests are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Freeze players with the phys-gun.
« on: December 31, 2011, 01:31:53 PM »
I thought it would be kinda cool if people where able to freeze players that they have picked up just by right clicking.

I would make this my self if some one told me what function ULX uses to see if a person is allowed to pick another up, but in theory I should be able to use the following hook.

http://wiki.garrysmod.com/?title=Gamemode.PhysgunPickup
I cry every time I see that I am not a respected member of this community.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Freeze players with the phys-gun.
« Reply #1 on: December 31, 2011, 11:13:38 PM »
You ought to be fine just using that hook. :)
Experiencing God's grace one day at a time.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Freeze players with the phys-gun.
« Reply #2 on: January 04, 2012, 09:10:16 AM »
HeLLFox, have I told you how cool you were?
You just keep coming up with good ideas and going at it!

Thanks for everything!  8)
My TTT server. Join the fun!

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Freeze players with the phys-gun.
« Reply #3 on: January 17, 2012, 12:27:00 AM »
I have been off for some time because I had some other things to do, but as soon as I find time, I will finish this.
I cry every time I see that I am not a respected member of this community.