07-29-2014, 23:53
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?
[/quote]
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");
}
}
}