Author Topic: physgun  (Read 709 times)

0 Members and 1 Guest are viewing this topic.

Glitch

  • Guest
physgun
« on: August 18, 2007, 12:21:37 PM »
how do i make it so players can't pick each other up with the physgun

thanks

Offline Kyzer

  • Full Member
  • ***
  • Posts: 191
  • Karma: 11
    • View Profile
Re: physgun
« Reply #1 on: August 18, 2007, 12:29:13 PM »
There is a easy example on the wiki:

http://www.garrysmod.com/wiki/?title=Gamemode.PhysgunPickup

If you need you can add an admin check so only admins can pickup players

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3262
  • Karma: 106
  • Project Specialist
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: physgun
« Reply #2 on: August 18, 2007, 03:51:55 PM »
Kyzer, he's probably thinking the ULX feature.
Remember, most who come here don't know Lua. (And of those that don't, even fewer want or care to learn)

Glitch,
ULX only allows admins to pick players up.
99% of the time a player can pick another player up, its not ULX's fault, but a conflicting mod.

In the past, several other prop protect scripts broke the feature.

Also, make sure ou have ULX 3.11
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it - David Pogue

Glitch

  • Guest
Re: physgun
« Reply #3 on: August 20, 2007, 02:58:23 PM »
well I've been interested in LUA but i don't want to learn right now and I have the svn version 3.20 but all players can still pick each other up. and i know I am the only admin i even tested it with other players. I' don't know if it makes a difference that it is a lan server

Glitch

  • Guest
Re: physgun
« Reply #4 on: August 20, 2007, 03:00:20 PM »
and i don't have any prop protection or even anything remotely similar

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3488
  • Karma: 188
  • Project Lead
    • View Profile
Re: physgun
« Reply #5 on: August 20, 2007, 04:20:28 PM »
Remove all other mods but ULX and ULib and let us know if you're still having trouble.
“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” -Brian W. Kernighan
"I love working on my crappy code. it is crappy, but it is mine. I guess I could love other people's code, but it's like loving other people's children -- not quite the same as your own" -- Jeff Atwood
"Their tree came and found my tree!" -- Stickly Man!

Glitch

  • Guest
Re: physgun
« Reply #6 on: August 20, 2007, 07:43:51 PM »
i guess it is a conflicting addon the painful part will to find ouot which

thanks for the help

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • ****
  • Posts: 449
  • Karma: 37
    • View Profile
Re: physgun
« Reply #7 on: August 20, 2007, 07:51:49 PM »
When you figure out, please post back with the results.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Glitch

  • Guest
Re: physgun
« Reply #8 on: August 20, 2007, 08:59:14 PM »
turned out to be the latest svn of GCombat recently tiberium was added and the tiberium tower was messing it up i saw someone mention. so i dongraded to version 11 and that fixed it.
thanks again for the help

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • ****
  • Posts: 3262
  • Karma: 106
  • Project Specialist
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: physgun
« Reply #9 on: August 20, 2007, 09:08:00 PM »
Thanks for the info Glitch. Letting us know what breaks our stuff is helpful.
We may not always be able to fix it or make a work around, but we can at the least let others know if ever asked.
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it - David Pogue