10.01.2013, 11:58
Well I guess it's ALRIGHT(not too good). The first step for better optimisation would be storing GetPlayerWeapon in to a variable, as now you are calling it lots of times. The more advanced way to do that would be to add it into a switch structure.