ItsMods

Full Version: Juggernaut Skin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my server i want the infected all to have the juggernaut player model and i made a code for it but it wont work. Is there something i'm missing?
Code:
using System;
using System.Collections.Generic;
using Addon;
using System.Text;

namespace ClassLibrary1
{
    public class Class1 : CPlugin
    {
        public override void OnPlayerSpawned(ServerClient Client)
        {
            if (Client.Team == Teams.Axis)
                Client.Other.SetPlayerModel("mp_fullbody_opforce_juggernaut");
        }
    }
}
[/quote]
Try to add ServerPrint and check if it even loads.
it does not load
Do you build it in NET 3.5 mode? If not do it then.
still nothing
always had this issue doing it that way, selecting it via a cmd works fine, just couldn't get them to spawn with it.
i thought @alex got it to spawn with it...