Exemplo n.º 1
0
    protected void CreatePhysicsAttachmentsOnClient(Vector3 force)
    {
        Host.AssertClient();

        var ent = new Prop();

        ent.Position = Position + new Vector3(0, 0, 10);
        ent.Rotation = Rotation;
        ent.SetModel("models/person_clothes/hat/party_hat.vmdl");
        ent.ApplyAbsoluteImpulse(force);
        //ent.EnableDrawing = true;
        ent.DeleteAsync(20);
    }