Are u from poland?
i need some help
i need fix this
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using MSCLoader;
using HutongGames.PlayMaker;
namespace SIX_GEARS_by_KETTLSON
{
public class SIX_GEARS_by_KETTLSON : Mod
{
public override string ID => "SIX_GEARS_by_KETTLSON";
public override string Name => "SIX GEARS by KETTLSON";
public override string Author => "Kettlson";
public override string Version => "1.0a";
public override bool LoadInMenu => false;
public override bool UseAssetsFolder => false;
Drivetrain _satsumaDriveTrain;
GameObject _satsuma;
GameObject player;
public Drivetrain.Transmissions lastDrivetype;
public int driveType = 1;
public float[] oldRatio;
public float[] newRatio = new float[]
{
-4.093f,
0f,
3.424f,
2.141f,
1.318f,
1f,
0.90f,
0.85f,
};
int rememberGear = 0;
bool autoTransEnabled;
public override void OnLoad()
{
try
{
_satsuma = GameObject.Find("SATSUMA(557kg, 248)");
player = GameObject.Find("PLAYER");
AssetBundle ab;
if (_satsuma != null)
{
_satsumaDriveTrain = _satsuma.GetComponent<Drivetrain>();
if (_satsumaDriveTrain != null)
{
defaultRPM = _satsumaDriveTrain.maxRPM;
defaultShiftUpRPM = _satsumaDriveTrain.shiftUpRPM;
defaultShiftDownRPM = _satsumaDriveTrain.shiftDownRPM;
oldRatio = _satsumaDriveTrain.gearRatios;
enableBoost = true;
engineFixerMod.OptimizeEngineFixer();
}
}
ModConsole.Print(Name + ": Mod loaded!");
}
catch (Exception e)
{
ModConsole.Error("Asset load and setup failed. Message: " + e);
return;
}
}
public override void Update()
{
if (_satsumaDriveTrain.gearRatios != newRatio)
{
_satsumaDriveTrain.gearRatios = newRatio;
_satsumaDriveTrain.maxRPM = 8400f;
}
rememberGear = _satsumaDriveTrain.gear;
}
}
}
VISUAL STUDIO 2019 saying 'Nie można znaleść nazwy typu lub przestrzeni nazw "driveTrain" ' (PL)