Jump to content

Error call hook

Closed 1.3.0 1.3.1

P.Shelby
P.Shelby

Posted

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

HexOptimal

Posted

Changed Status from Pending to Work in Progress

TOP-ic

Posted

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

HexOptimal

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 1.3.1

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.