Originally Posted By: Florastamine
automagically

I think that's the perfect word for it grin

But, this does not work:
Code:
if( currentWeapon != my.weapon ) {
	currentWeapon = my.weapon;
	currentClip = currentWeapon.magazine_size;
}


It always resolves to True...
I was able to go around the problem with using another pointer to hold "old" value and assign currentWeapon every frame with a check against this "old" value to reset the magazine_size on weapon change. Otherwise it gets assigned every frame, and I have the Unlimited ammo cheat on... grin

Any ideas?


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201