CanUseMailbox
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanUseMailbox( BasePlayer player, Mailbox instance )
{
Puts( "CanUseMailbox works!" );
}
Location
- Mailbox::PlayerIsOwner(BasePlayer player)
csharp
public virtual bool PlayerIsOwner(BasePlayer player)
{
object returnvar = Interface.CallHook("CanUseMailbox", player, this);
if (returnvar is bool)
{
return (bool)returnvar;
}
return player.CanBuild();
//---