Skip to main content

CanUseUI

Usage​

  • Called when the player attempts to use a custom UI
  • Return a non-null value to override default behavior

Examples​

""
object CanUseUI(BasePlayer player, string json)
{
Puts("CanUseUI works!");
return null;
}