Jump to content

i have issue when i spawns

Closed 1.1.0 1.1.2

Failed to call hook 'Command_SpawnVehicleAndCloseUI' on plugin 'MyVehicle v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.MyVehicle.DespawnExistingVehicleOfType (System.String playerId, System.String vehicleType) [0x00071] in <471e4310a2ec4628a840c629678ea93e>:0 at Oxide.Plugins.MyVehicle.Command_SpawnVehicleAndCloseUI (ConsoleSystem+Arg arg) [0x00135] in <471e4310a2ec4628a840c629678ea93e>:0 at Oxide.Plugins.MyVehicle.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0062d] in <471e4310a2ec4628a840c629678ea93e>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

Share this comment


Link to comment

Hello.

Please unload the plugin ( o.unload MyVehicle ) and delete the config file ( oxide\config\MyVehicle.json ) and the data file ( oxide\data\MyVehicle\SpawnedVehicles.json ) than reload the plugin ( o.reload MyVehicle ) and it will resolve the problem.

Edited by VoodooLights

Share this comment


Link to comment

that comes again and again and again i don't need delete every thing every time can u fix it i delete config and data when i spawns Vehicles i can't after that spawn anymore when error comes

Edited by xAlloshFN

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

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.