NullReferenceException after using hover commandFixed
19:20 [Error] Failed to run a 900.00 timer in 'HelicopterHover v1.1.3' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Rigidbody.set_constraints(UnityEngine.Rigidbody,UnityEngine.RigidbodyConstraints) at Oxide.Plugins.HelicopterHover+c__Iterator0+c__AnonStorey1.<>m__0 () [0x0002c] in :0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in :0
Could you tell me what you were doing when you got this error?
I just toggled /hover and after the 15 minutes i got that message.
Were you still mounted in the helicopter?
Edit - Ignore this if you don't have the time, happened right after I put this plugin onto the server.

Noticed same thing but different. I set timer really high and I can't even get in the minicopter. Not sure what's happening. Could you add a option to disable/enable this feature? Enabled would mean time limit is there, disabled would mean no time limit.

Definitly doesn't like my number in there. I will change it now and see if that fixes it.

Would it be possible to add a time messages as well?

Did not fix it..

RPC Error in AddUI: Input string was not in a correct format. at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean pa

Willing to bet this is a me issue :/

I have no idea what's doing it, works fine on two other servers lol. Probably nothing.

What I'm doing - Spawning a minicopter, pressing e on the driving seat, I've been kicked. Doubt it's this mod because it works fine on the others, two other servers have the exact same plugins so I dont know.
It's likely another plugin causing the issue since my plugin doesn't use UI. I will also add a toggle for the timer since it's causing an error for a few people.
Okay, thank you.
The RPC Error in AddUI is likely from an older Fuel Gadge plugin.

The NRE with this plugin is most likely from not null checking the helicopter once the timer finishes.
This should be fixed now.
Locked automatically