The name 'MachineGun' does not denote a valid type

Assets/Pro Standard Assets/Image Based/WeaponScripts/FPSPlayer.js(14,26): BCE0018: The name ‘MachineGun’ does not denote a valid type. Did you mean ‘System.Resources.MissingManifestResourceException’ ? Assets/Pro Standard Assets/Image Based/WeaponScripts/FPSPlayer.js(14,26): BCE0018: The name ‘MachineGun’ does not denote a valid type. Did you mean ‘System.Resources.MissingManifestResourceException’ ?

It highlihgts the fpsplayer when i click on the error. How do i fix this?
It says

private var machineGun : MachineGun;

This MachineGun type refers to the script MachineGun.js, which is also part of the FPS Tutorial (every script generates a type when compiled, and this type is the script name without extension). Find this script and copy it to the same folder where your scripts are stored, thus it will be compiled and become a valid type.