DarkRP.Entity.IsMasterOwner

From GMod Wiki

Revision as of 12:17, 16 November 2011 by [RV] TJjokerR (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Deletion.pngThis 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.IsMasterOwner
DarkRP.Entity.IsMasterOwner is a function that is defined in the DarkRP Gamemode and its derivatives.
Function
Syntax Entity:IsMasterOwner( Player player )
Where is this used?
Description:
Returns true or false depending on if the supplied player is the first owner of the door.
Returns: Boolean
Part of Library: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DarkRP.Entity.IsMasterOwner]DarkRP.Entity.IsMasterOwner [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAdds a function that returns true/false depending on if the supplied player was the first owner of the entity provided (a door works best).
Used onNewerServer.png
Code
function MasterOwner(ply, ent)
	return ent:IsMasterOwner( ply )
end
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox