DarkRP.Entity.RemoveAllowed

From DarkRP
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of functions.
Function
Function name Entity:RemoveAllowed(Player ply)
Description:
Disallows a player to own a door.
Returns: nil
Part of Library: Entity
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=DarkRP.Entity.RemoveAllowed]Entity:RemoveAllowed[/url][/b]

Examples[edit]

DescriptionAdds a function to make a certain player removed from the ownership rights list.
Used on
Code
function AdminRemoveOwnership( trace, playeradd )
	trace.Entity:RemoveAllowed( playeradd )
end
OutputN/A


Additional Notes[edit]

  • Doesn't make the player un-own the door, only disallows them from owning.