Any chance I would be able to call an enum class and return the int value from it? Trying to use the same method I did with the other one, but the game crashes as soon as it loads halfway onto level.
bool unlimitedAmmoToggle;
int weaponOwner, bulletCounter, currentAmmo, maxAmmo;
void...