LUA:Physgunable Entities
Jump to navigation
Jump to search
Physgun Override[edit]
Description | Make the entity's owner (or admins) able to physgun your entity. |
---|---|
Code | function ENT:PhysgunPickup(ply, ent)
return (ply == self:Getowning_ent()) or ply:IsAdmin()
end
|
Output | Admins and the entity's owner may physgun it. |