Assets/MFPS/Scripts/Weapon/Main/bl_GunManager.cs(93,13): error CS0103: The name 'm_Current' does not exist in the current context
i am using latest gun race addon and latest mfps 2.0
Gun race ERROR
- volfase
- Member
- Posts: 33
- Joined: Sun Mar 18, 2018 2:14 am
- Location: Finland
- Contact:
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
For fix, in bl_GunManager.cs -> Start() -> replace this code:
with:
Code: Select all
#if GR
if (isGunRace)
{
PlayerEquip[0] = GunRace.GetGunInfo(AllGuns);
m_Current = 0;
}
#endif
Code: Select all
#if GR
if (isGunRace)
{
PlayerEquip[0] = GunRace.GetGunInfo(AllGuns);
currentWeaponIndex = 0;
}
#endif