Page 1 of 1

Gun race ERROR

Posted: Sat Jan 18, 2020 8:44 am
by volfase
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

Re: Gun race ERROR

Posted: Fri Jan 24, 2020 7:13 pm
by Lovatto
For fix, in bl_GunManager.cs -> Start() -> replace this code:

Code: Select all

#if GR
        if (isGunRace)
        {
            PlayerEquip[0] = GunRace.GetGunInfo(AllGuns);
            m_Current = 0;
        }
#endif
with:

Code: Select all

#if GR
        if (isGunRace)
        {
            PlayerEquip[0] = GunRace.GetGunInfo(AllGuns);
            currentWeaponIndex = 0;
        }
#endif