ItsMods

Full Version: Bunker Plugin 1.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
newest one also you will get stuck use noclip to get out since the care package spawns just under you
(01-31-2013, 15:54)archit Wrote: [ -> ]newest one also you will get stuck use noclip to get out since the care package spawns just under you
ok newest one and I did that to move but as soon as i typed !nclip i was stuck again and the other 2 wasn't anywhere near where i was trying it out and they couldn't move
go a little up
then do nclip
where can i save the boxes permanently?

and which code will i save.
this?
Code:
createfloor(new Vector(-4140,355f,5960,863f,230,2047f),new Vector(-3704,728f,5956,111f,254,5349f));
CreateWall(new Vector(-4222,176f,5949,262f,234,7336f),new Vector(-3540,856f,5962,53f,268,6429f));
CreateWall(new Vector(-3540,856f,5962,53f,268,6429f),new Vector(-3579,122f,6523,172f,282,7244f));
CreateWall(new Vector(-3605,765f,6519,2f,279,0197f),new Vector(-4217,586f,6528,317f,271,8532f));
or...
Code:
-3575,468,6535,2,280,2746
-3623,894,6535,2,280,2746
-3672,321,6535,2,280,2746
-3720,747,6535,2,280,2746
(01-31-2013, 16:37)EnVi Sweden Rocks Wrote: [ -> ]where can i save the boxes permanently?

and which code will i save.
this?
Code:
createfloor(new Vector(-4140,355f,5960,863f,230,2047f),new Vector(-3704,728f,5956,111f,254,5349f));
CreateWall(new Vector(-4222,176f,5949,262f,234,7336f),new Vector(-3540,856f,5962,53f,268,6429f));
CreateWall(new Vector(-3540,856f,5962,53f,268,6429f),new Vector(-3579,122f,6523,172f,282,7244f));
CreateWall(new Vector(-3605,765f,6519,2f,279,0197f),new Vector(-4217,586f,6528,317f,271,8532f));
or...
Code:
-3575,468,6535,2,280,2746
-3623,894,6535,2,280,2746
-3672,321,6535,2,280,2746
-3720,747,6535,2,280,2746

Code:
createfloor(new Vector(-4140,355f,5960,863f,230,2047f),new Vector(-3704,728f,5956,111f,254,5349f));
CreateWall(new Vector(-4222,176f,5949,262f,234,7336f),new Vector(-3540,856f,5962,53f,268,6429f));
CreateWall(new Vector(-3540,856f,5962,53f,268,6429f),new Vector(-3579,122f,6523,172f,282,7244f));
CreateWall(new Vector(-3605,765f,6519,2f,279,0197f),new Vector(-4217,586f,6528,317f,271,8532f));

and you probably get error..

you have this
Code:
CreateWall(new Vector(-3605,765f,6519,2f,279,0197f),new Vector(-4217,586f,6528,317f,271,8532f));
make it like
CreateWall(new Vector(-3605f,6519f,279f),new Vector(-4217f,6528f,271f));

I removed all those , things, (only real numbers without decimal or something like that)
like the second will i save. and where to save it
where can i save the code so it will be permanent?
(02-01-2013, 16:23)EnVi Sweden Rocks Wrote: [ -> ]where can i save the code so it will be permanent?


Use what I used in my boxes plugin
(Use event onmapchange)

It will look like this Wink

Code:
public override void OnMapChange()
        {
            string map = GetDvar("mapname");
            if (map == "mp_plaza2")
            {
                //closing windows
                CreateWall(new Vector(767f, 1428f, 690f), new Vector(1347f, 1428f, 705));
            }
        }

Place it there where the CreateWAll is.
If you change the map in console, everything you made will be printed.
Copy and past eit in your plugin voila
thx. i'll test Smile
New update!
Pages: 1 2 3 4 5 6 7