Jump to content

Action Hooks

* Use these to forcefully interrupt or stop plugin behavior when a player becomes Combat or Raid blocked (e.g., using bgrade, skinbox, etc.):

private void OnCombatBlock(BasePlayer player)
private void OnRaidBlock(BasePlayer player)


Check Hooks

* Use these to check a player's current block status before allowing an action (e.g., using a command, teleporting, etc.):

private bool IsCombatBlocked(BasePlayer player) | IsCombatBlocked(string player) | IsCombatBlocked(ulong player)
private bool IsRaidBlocked(BasePlayer player)   | IsRaidBlocked(string player)   | IsRaidBlocked(ulong player)
private bool IsEscapeBlocked(BasePlayer player) | IsEscapeBlocked(string player) | IsEscapeBlocked(ulong player)

 


About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
172.3k
Total sales
Payments
3.7m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.