01-31-2013, 15:54
01-31-2013, 15:58
(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 youok 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
01-31-2013, 16:18
go a little up
then do nclip
then do nclip
01-31-2013, 16:37
where can i save the boxes permanently?
and which code will i save.
this?or...
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));
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:48
(01-31-2013, 16:37)EnVi Sweden Rocks Wrote: [ -> ]where can i save the boxes permanently?
and which code will i save.
this?or...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));
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));
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)
01-31-2013, 17:08
like the second will i save. and where to save it
02-01-2013, 16:23
where can i save the code so it will be permanent?
02-01-2013, 19:53
(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
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
02-01-2013, 19:55
thx. i'll test
02-01-2013, 20:07
New update!