Jump to content

Vnuk

Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Vnuk

  1. if (entity == null) return; Changed to if (entity.OwnerID == 0) return; And the error no longer appears! Thank you very much respected. Waiting for updates)
  2. It arises on its own, while the plugin works. But this error can appear in the console even several times in a row. I will also observe this if I give feedback.
  3. I get the following error 13:53 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'MyMiniCopter v0.2.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.MyMiniCopter.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00044] in <d3decda29738404d92b47d35a8c26063>:0 at Oxide.Plugins.MyMiniCopter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00214] in <d3decda29738404d92b47d35a8c26063>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154.2k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • 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.