Jump to navigation Jump to 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 name||Entity:AllowedToOwn(Player ply)|
|Returns true or false depending on if the player has been given ownership rights.|
|Part of Library:||Entity|
|Description||Prints to the owner of the door that ply wants to own the door.|
function WantsToOwn( ply, door ) if door:AllowedToOwn( ply ) then door:GetDoorOwner():ChatPrint( ply:Nick() .. " wants to own your door too!" ) end end
- This is not a check for door ownership ban function.