Jump to content

plugin not loading

Closed 1.0.7

getting this error when i load plugin Error while compiling: CAltimeter.cs(292,88): error CS1061: Type `MiniCopter' does not contain a definition for `fuelSystem' and no extension method `fuelSystem' of type `MiniCopter' could be found. Are you missing an assembly reference?

Share this comment

Link to comment

Change your function GetFuelAmount  to the following               


public int GetFuelAmount() => (entity.GetParentEntity() as MiniCopter)?.GetFuelSystem()?.GetFuelAmount() ?? 0;      


Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


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.