void Awake()
 {
     if (Network.isClient)
     {
         MB = GameObject.Find("MultiplayerBase").GetComponent <MultiplayerBase>();
     }
 }
    //Deze functie stelt de statische variabelen in.
    void Awake()
    {
        if (Network.isClient)
        {
            MB = GameObject.Find("MultiplayerBase").GetComponent <MultiplayerBase>();
        }
        PistolModel           = PubPistolModel;
        SMGModel              = PubSMGModel;
        SniperModel           = PubSniperModel;
        BoltActionSniperModel = PubBoltActionSniperModel;
        ShotgunModel          = PubShotgunModel;
        MeleeModel            = PubMeleeModel;
        BAM16A4Model          = PubBAM16A4Model;
        BulletPrefab          = PubBulletPrefab;

        PistolSights           = PubPistolSights;
        SMGSights              = PubSMGSights;
        SniperSights           = PubSniperSights;
        BoltActionSniperSights = PubBoltActionSniperSights;
        ShotgunSights          = PubShotgunSights;
        BAM16A4Sights          = PubBAM16A4Sights;
        StaticRaySource        = RaySource;
        StaticRecoilScript     = RecoilScript;
    }
 public void Awake()
 {
     MB = GameObject.Find("MultiplayerBase").GetComponent <MultiplayerBase>();
 }