Jump to content

Error call hook

Closed 1.3.0 1.3.1

Hey i get this error on every vehicle.
Vehicle spawns but without Sirens. Spawnmodularcar is up to date.

Failed to call hook 'policehelilarge' on plugin 'PoliceVehicles v1.3.0' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
at UnityEngine.Component.GetComponent[T] () [0x00021] in <c8dc2b468d1841099baa4dd8a110cc44>:0
at Oxide.Plugins.PoliceVehicles.spawnentity (BaseVehicle vehicle, System.String spawnentity, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x0005b] in <7ce8b02e5a654dc1b456e9fd9e295a89>:0
at Oxide.Plugins.PoliceVehicles.policehelilarge (BasePlayer player) [0x00131] in <7ce8b02e5a654dc1b456e9fd9e295a89>:0
at Oxide.Plugins.PoliceVehicles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005b7] in <7ce8b02e5a654dc1b456e9fd9e295a89>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

Share this comment


Link to comment

I also get errors when calling the copter.

[Oxide] 20:13 [Error] Failed to call hook 'policeheli' on plugin 'PoliceVehicles v1.3.0' (NullReferenceException: )
  at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
  at UnityEngine.Component.GetComponent[T] () [0x00021] in <c8dc2b468d1841099baa4dd8a110cc44>:0
  at Oxide.Plugins.PoliceVehicles.spawnentity (BaseVehicle vehicle, System.String spawnentity, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x0005b] in <59c2fb447aad450a9e53ef4991aae0ac>:0
  at Oxide.Plugins.PoliceVehicles.policeheli (BasePlayer player) [0x00131] in <59c2fb447aad450a9e53ef4991aae0ac>:0
  at Oxide.Plugins.PoliceVehicles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00589] in <59c2fb447aad450a9e53ef4991aae0ac>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d41

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.