Skip to content

OnVehicleLockableCheck

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? OnVehicleLockableCheck( ModularCarCodeLock instance )
{
    Puts( "OnVehicleLockableCheck works!" );
    return null;
}

Location

  • ModularCarCodeLock::CanHaveALock()
csharp
public bool CanHaveALock()
{
	object obj = Interface.CallHook("OnVehicleLockableCheck", this);
	if (obj != null)
	{
		if (!(obj is bool))
		{
			return false;
//---

Released under the MIT License.