Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help boxes
#1
gues 1 question shit error
in MapEdit I could write one line in the frame, how do I make it with black blocks? I experimented a lot but either do not exist or is not it at all, or not worked NO
Code:
using System;

using Addon;

namespace Addon
{
    public class Drop : CPlugin
    {

        string script_model = "script_model";
        string com_plasticcase_trap_friendly = "com_plasticcase_trap_friendly";//1 sec

        public void SetOrigin(ServerClient c, Vector pos)
        {

            c.OriginX = pos.X;
            c.OriginY = pos.Y;
            c.OriginZ = pos.Z;
        }
        public void block(Vector pos,bool upstairs = false)//save box
        {
            {
                Entity entdefault2 = SpawnModel("script_model", "com_plasticcase_trap_friendly", pos);
                Extensions.CloneBrushModelToScriptModel(entdefault2, Extensions.FindAirdropCrateCollisionId());
                Extensions.CloneBrushModelToScriptModel(entdefault2, Extensions.FindAirdropCrateCollisionId());
            }
        }

        private void Rust()
        {
            string map = GetDvar("mapname");//prop_flag_speznas  russian_flag_cls

            if (map == "hardhat")
            {

                block(new Vector(1259f,-336f,216), new Vector(944,-332,376));

            }
        }
    }
}
Reply

#2
sorry misread your post anyway here are some more if you ever need em..

com_plasticcase_dummy
com_plasticcase_enemy
com_plasticcase_friendly
com_plasticcase_trap_friendly
com_plasticcase_trap_bombsquad
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#3
(05-16-2013, 13:37)hillbilly Wrote: sorry misread your post anyway here are some more if you ever need em..

com_plasticcase_dummy
com_plasticcase_enemy
com_plasticcase_friendly
com_plasticcase_trap_friendly
com_plasticcase_trap_bombsquad

Createramp(new Vector(-594.2646f, 1913.626f, -143.817f), new Vector(0, 90, 0)); 1 line=10 x1 boxes
Reply

#4
I don't see anything wrong though... or your question is retarded.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Interactive Boxes Yamato 1 2,504 06-29-2013, 18:20
Last Post: DidUknowiPwn
  [Release] [CODE][TUT]Boxes 99IRock 40 22,159 01-14-2013, 20:18
Last Post: EnVi Sweden Rocks
  Mystery Boxes boe44 12 9,395 06-27-2012, 01:51
Last Post: george1589
  D3D Boxes d0h! 3 4,196 07-03-2011, 00:41
Last Post: gellin

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.