Gun race ERROR

Report bugs of MFPS 2.0 here
Post Reply
User avatar
volfase
Member
Member
Posts: 33
Joined: Sun Mar 18, 2018 2:14 am
Location: Finland
Contact:

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
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

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
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply