DarkRP.Entity.RemoveAllowed

From Official DarkRP Wiki
Jump to: navigation, search
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: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=DarkRP.Entity.RemoveAllowed]Entity:RemoveAllowed[/url][/b]

Examples

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


Additional Notes

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