Jump to content

Error when spawning a police car

Closed 1.2.1

Perilous_Outlaw
Perilous_Outlaw

Posted

Failed to call hook 'policecar' on plugin 'PoliceVehicles v1.2.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PoliceVehicles.SpawnPoliceCar (BasePlayer player) [0x0009e] in <05dc958d80034110a88095f44cbdeac3>:0 at Oxide.Plugins.PoliceVehicles.policecar (BasePlayer player) [0x00081] in <05dc958d80034110a88095f44cbdeac3>:0 at Oxide.Plugins.PoliceVehicles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003bb] in <05dc958d80034110a88095f44cbdeac3>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

HexOptimal

Posted

Could I ask what permissions you had when spawning the car?

and I assume you used /policecar command?

Rust Admin

Posted

probably missing the SpawnModularCar dependency.

HexOptimal

Posted

Changed Status from Pending to Closed

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.