This addon is now deprecated and no longer needed, because Megiddo has manually added restrictions to ulx physgunplayer.
AntiPhysgun is an addon for ULX SVN that adds an access called "ulx physgunplayer_protect".
When added to a group or player, the player(s) can't be picked up by other players with "ulx physgunplayer".
Note: this can be overridden if the player trying to physgun has the "overcomeimmunity" access. Removed in version 1.1
By default, it adds the access to the superadmin group.
I made this because "ulx physgunplayer" doesn't work with the new command system yet.
This is most likely only temporary, as I've been told by Megiddo, but this is just a quick fix.
Usage (if you want to use it for groups other than superadmin):
Type in the console:
ulx groupallow <group> "ulx physgunplayer_protect"
And if you want to use it for specific players:
Type in the console:
ulx userallow <player's name> "ulx physgunplayer_protect"
Installation:
Extract to addons.
UPDATE: AntiPhysgun SVN version 1.1
FIX: Fixed the error since Megiddo removed the ULib.ACCESS_IMMUNITY global variable. (It's no longer needed at all)
I remember getting an error with this lately when it was working fine before, so I'm assuming this was the problem. (This is untested, post here if you have problems)
I also removed the check for "overcomeimmunity", following the way Megiddo did to the official PlayerPhysgun. (overcomeimmunity is retired now)
Enjoy.
This addon is now deprecated and no longer needed, because Megiddo has manually added restrictions to ulx physgunplayer.