This compiler error depends on Version 1.1.9
[Error] Error while compiling BuildingSkins: Type of conditional expression cannot be determined because 'ulong' and 'BasePlayer.EncryptedValue' implicitly convert to one another | Line: 500, Pos: 39
Line 500: (previous) //var targetOwner = arg.Length > 1 ? ulong.Parse(arg[1]) : player.userID;
Fixing this issue by: var targetOwner = arg.Length > 1 ? ulong.Parse(arg[1]) : player.userID.Get();
or by writing a Method() to do the job...
Replacing
Line 6815: var fuelSystem = mini.GetFuelSystem(); by var fuelSystem = mini.GetFuelSystem() as EntityFuelSystem;
Line 6850+6862: var fuelSystem = boat.GetFuelSystem(); by var fuelSystem = boat.GetFuelSystem() as EntityFuelSystem;
will fix it.
Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.
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.