DarkRP.Entity.AddAllowed
From GMod Wiki
This page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here. Reason for deletion: Not what Garry wants the wiki to be used for Last Edit was made on 11/16/2011 |
Gamemode Function: DarkRP.Entity.AddAllowed | |
---|---|
DarkRP.Entity.AddAllowed is a function that is defined in the DarkRP Gamemode and its derivatives. |
Function | |
Syntax |
Entity:AddAllowed( Player ply ) Where is this used? |
Description: | |
Allows a player to own the door. | |
Returns: | nil |
Part of Library: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DarkRP.Entity.AddAllowed]DarkRP.Entity.AddAllowed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Adds a function to make a certain player allowed to own the door. |
---|---|
Used on | |
Code | function AdminAddOwnership( trace, playeradd ) trace.Entity:AddAllowed( playeradd ) end |
Output | N/A |
Additional Notes
- Doesn't make the player own the door, only allows them.