blob: 89831525bfb4d5dd7cae6a163c7f9430d1bd8108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// :O
hook.Add( "PhysgunPickup", "CanPickupPlayer_MB", function(ply,ent)
GM = GM or GAMEMODE
if (ent:IsPlayer() and GM:GetGlobalSHVar("PlayerPickup",false)) then
if (GM:GetGlobalSHVar("PlayerPickupAdmin",false)) then return (ply:IsAdmin()) end
return true
end
end)
hook.Remove( "PostDrawEffects", "RenderHalos" )
|