12-10-2012, 17:57
(12-10-2012, 17:38)SailorMoon Wrote: @hillbilly , Just google system.core.dll, i found all importand dlls by this way.
worked ty.
|
Release MW3 Server Addon Extensions
|
|
12-10-2012, 17:57
(12-10-2012, 17:38)SailorMoon Wrote: @hillbilly , Just google system.core.dll, i found all importand dlls by this way. worked ty.
12-10-2012, 18:07
(12-10-2012, 16:52)Ich1994 Wrote: Thinking about to make some function like: Use our MapEdit class to help you on that.
Do not take life too seriously. You will never get out of it alive.
12-10-2012, 18:15
(12-10-2012, 18:07)DidUknowiPwn Wrote:(12-10-2012, 16:52)Ich1994 Wrote: Thinking about to make some function like: Im pretty sure that i only need basic math. But thanks ![]()
12-10-2012, 19:06
@DidUknowiPwn What class?
@99IRock
Did you get this to work? Code: using System.Collections.Generic;
using System.Linq;
using System.Text;
using Addon;
namespace Boxes
{
public class Class1 : CPlugin
{
public override void OnMapChange()
{
string map = GetDvar("mapname");
if (map == "mp_carbon")
{
Entity ent = SpawnModel("script_model", "com_plasticcase_trap_friendly", new Vector(-926f, -4535f, 4576f));
ent.CloneBrushModelToScriptModel(Extensions.FindAirdropCrateCollisionId());??
}
}
public override void OnFastRestart()
{
string map = GetDvar("mapname");
if (map == "mp_carbon")
{
Entity ent = SpawnModel("script_model", "com_plasticcase_trap_friendly", new Vector(-926f, -4535f, 4576f));
ent.CloneBrushModelToScriptModel(Extensions.FindAirdropCrateCollisionId());??
}
}
}
}
12-10-2012, 19:14
(12-10-2012, 19:09)hillbilly Wrote: @99IRock Create a 2nd class in the plugin.
as in?
gee gods i think mw3 just had an update
12-10-2012, 19:29
Open the extension plugin then click project > add new class > insert the code
12-10-2012, 19:42
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Help, server Admin | largosik | 0 | 3,148 |
02-02-2019, 18:09 Last Post: largosik |
|
| Add a point shop to my server | h1dexyz | 1 | 4,339 |
03-04-2018, 22:36 Last Post: h1dexyz |
|
|
|
Preview Weapon Classe For Infected Clasic Server | groochu1982 | 0 | 3,472 |
02-19-2017, 08:35 Last Post: groochu1982 |
|
|
Help HOW CAN I TURN OFF THE "CROSSHAIR" IN MY SERVER? | Eliichong0 | 0 | 3,725 |
06-16-2016, 16:01 Last Post: Eliichong0 |
|
|
Upload files to FTP server | S3VDIT0 | 4 | 6,230 |
01-28-2016, 17:17 Last Post: S3VDIT0 |
| Users browsing this thread: |
| 1 Guest(s) |