Cài đặt Steam
Đăng nhập
|
Ngôn ngữ
简体中文 (Trung giản thể)
繁體中文 (Trung phồn thể)
日本語 (Nhật)
한국어 (Hàn Quốc)
ไทย (Thái)
Български (Bungari)
Čeština (CH Séc)
Dansk (Đan Mạch)
Deutsch (Đức)
English (Anh)
Español - España (Tây Ban Nha - TBN)
Español - Latinoamérica (Tây Ban Nha cho Mỹ Latin)
Ελληνικά (Hy Lạp)
Français (Pháp)
Italiano (Ý)
Bahasa Indonesia (Indonesia)
Magyar (Hungary)
Nederlands (Hà Lan)
Norsk (Na Uy)
Polski (Ba Lan)
Português (Tiếng Bồ Đào Nha - BĐN)
Português - Brasil (Bồ Đào Nha - Brazil)
Română (Rumani)
Русский (Nga)
Suomi (Phần Lan)
Svenska (Thụy Điển)
Türkçe (Thổ Nhĩ Kỳ)
Українська (Ukraine)
Báo cáo lỗi dịch thuật
{
auto obj = GetGame().CreateObject( type, position );
obj.SetPosition( position );
obj.SetOrientation( orientation );
vector roll = obj.GetOrientation();
roll [ 2 ] = roll [ 2 ] - 1;
obj.SetOrientation( roll );
roll [ 2 ] = roll [ 2 ] + 1;
obj.SetOrientation( roll );
}
void main()
{
//DC_FastTravel.SpawnBoard(1, "5842.27 288.4 12784.4", "163 0 0", 1); //Start
// DC_FastTravel.SpawnBoard(2, "6349.9 363.7 2001.3", "163 0 0", 1); //End
//Your custom spawned objects
//New Vending machine LAVONIA Mil,Hosp,Mil,Bus stops
SpawnObject( "bldr_vending_machine", "6386.365723 175.787811 11000.741211", "0.000000 -1.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6376.818848 175.787323 11000.331055", "0.000000 -4.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6439.853027 176.189972 11027.223633", "90.002396 -0.183355 -0.733366" );
SpawnObject( "bldr_vending_machine", "6503.650879 185.789139 11263.208984", "-90.000046 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6480.062988 189.758896 11375.826172", "45.999996 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6487.728516 190.601639 11378.605469", "86.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6494.945313 194.201859 11374.434570", "139.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5202.946289 192.509811 10353.057617", "-130.999939 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5218.108398 192.735107 10376.516602", "136.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "9911.245117 352.901398 3778.394043", "90.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5177.918945 192.254791 10304.216797", "-133.999954 1.000000 -91.000015" );
SpawnObject( "bldr_vending_machine", "5048.756348 185.173798 9761.322266", "-115.999962 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5044.823242 185.173798 9774.035156", "-117.999954 0.000000 -2.000000" );
SpawnObject( "bldr_vending_machine", "4294.220703 241.230301 10396.754883", "44.000000 -0.916710 0.000000" );
SpawnObject( "bldr_vending_machine", "4285.415527 241.224518 10383.541992", "-132.999954 -0.015269 -0.061278" );
SpawnObject( "bldr_vending_machine", "4258.705566 240.109070 10422.402344", "135.999985 -0.550000 0.000000" );
SpawnObject( "bldr_vending_machine", "4258.924316 244.159317 10422.607422", "138.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4223.074219 239.759247 10398.618164", "-131.947159 -2.197862 -1.375790" );
SpawnObject( "bldr_vending_machine", "4224.765137 243.859497 10403.560547", "-44.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4120.276367 239.302658 10222.799805", "135.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4120.542969 242.444626 10222.933594", "134.999954 -0.999995 1.000005" );
SpawnObject( "bldr_vending_machine", "3970.913574 239.197998 10109.499023", "133.999954 0.000000 0.091763" );
SpawnObject( "bldr_vending_machine", "6258.710938 193.933167 10148.661133", "25.009975 -0.366495 -1.558081" );
SpawnObject( "bldr_vending_machine", "6292.662109 193.578430 10225.048828", "-94.963585 -0.779443 -2.682050" );
SpawnObject( "bldr_vending_machine", "6313.270020 193.577637 10179.822266", "178.999969 1.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6391.823730 224.946762 8163.401367", "136.999969 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6440.197754 224.524002 8190.062500", "-139.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6442.342285 224.729141 8170.269531", "131.988068 -0.366213 1.924521" );
SpawnObject( "bldr_vending_machine", "5873.170898 286.242645 6703.338867", "101.000000 -0.000002 0.000000" );
SpawnObject( "bldr_vending_machine", "5209.032227 370.690063 5678.467285", "143.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5951.716309 399.076477 4130.670410", "15.000003 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "5957.952148 402.369049 4130.850586", "167.999969 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6192.292480 383.855530 3984.928711", "-132.999939 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "6072.230469 388.561462 4077.478271", "-138.000061 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7289.091309 294.410675 2958.167725", "-28.000000 -2.000001 -1.000000" );
SpawnObject( "bldr_vending_machine", "7368.291016 291.515442 2872.249268", "-27.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7379.009766 290.713287 2846.754395", "-29.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7359.823730 290.556427 2825.458984", "64.915695 2.195751 -2.200604" );
SpawnObject( "bldr_vending_machine", "7337.729980 290.853638 2859.145508", "153.999954 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7364.451660 288.201599 2621.197998", "90.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7318.758789 288.396301 2618.339111", "-44.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7254.653320 288.394226 2569.469238", "-43.000000 0.275006 0.000000" );
SpawnObject( "bldr_vending_machine", "7483.421387 288.311829 2547.273926", "20.000006 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7467.162598 288.462860 2526.858643", "20.000006 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7522.829590 288.193054 2520.068848", "39.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7615.620117 297.791473 2660.464844", "-42.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "9053.386719 343.788605 4423.381348", "98.006432 3.935670 0.091980" );
SpawnObject( "bldr_vending_machine", "11127.519531 347.213348 4333.627930", "54.999992 0.000000 0.183525" );
SpawnObject( "bldr_vending_machine", "11244.187500 340.101471 4369.305664", "153.999954 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11315.183594 348.827179 4221.034180", "149.999954 -0.000003 0.000005" );
SpawnObject( "bldr_vending_machine", "11315.330078 352.842773 4218.090332", "64.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11468.827148 331.761292 4555.274414", "-103.994713 0.549949 0.550026" );
SpawnObject( "bldr_vending_machine", "11460.942383 335.310425 4557.513184", "-53.999996 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11499.817383 331.700684 4653.382813", "-91.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11504.184570 331.700684 4668.194336", "-3.000011 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11506.967773 243.951126 7187.325195", "81.007080 -1.366491 -1.100062" );
SpawnObject( "bldr_vending_machine", "11514.095703 243.921112 7155.353516", "170.999969 -0.275004 -0.183387" );
SpawnObject( "bldr_vending_machine", "11552.448242 244.443726 7113.198242", "171.000031 0.000000 -0.091623" );
SpawnObject( "bldr_vending_machine", "11549.611328 244.443726 7112.561523", "172.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11524.694336 244.934097 7089.768555", "166.999954 -0.000015 -0.000003" );
SpawnObject( "bldr_vending_machine", "11518.352539 248.949677 7090.802246", "-11.000002 -0.000001 -0.000000" );
SpawnObject( "bldr_vending_machine", "11529.074219 244.289032 7058.379883", "-10.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11943.324219 229.953857 7321.416992", "55.999870 0.091623 -0.091623" );
SpawnObject( "bldr_vending_machine", "11908.454102 229.647522 7314.488281", "-31.030352 -2.107058 0.825527" );
SpawnObject( "bldr_vending_machine", "11528.229492 182.369354 9466.965820", "64.000923 0.183381 0.275008" );
SpawnObject( "bldr_vending_machine", "11440.565430 182.411484 9500.053711", "-29.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11399.443359 183.620911 9484.734375", "66.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11275.530273 189.262726 9432.158203", "154.000031 -0.000001 -0.000001" );
SpawnObject( "bldr_vending_machine", "11274.197266 185.247147 9431.513672", "156.000015 -0.000014 -0.000007" );
SpawnObject( "bldr_vending_machine", "11645.991211 190.409622 9619.339844", "94.000023 -1.374324 1.191967" );
SpawnObject( "bldr_vending_machine", "10546.301758 181.755264 11115.311523", "-96.263084 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "10543.872070 185.305481 11120.996094", "52.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "10624.128906 180.248444 11095.606445", "135.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "10656.104492 178.609238 11145.230469", "-118.999962 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "10581.976563 180.893005 11120.725586", "50.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11151.901367 175.191772 11409.726563", "-52.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11183.697266 175.232620 11456.888672", "39.000004 0.183385 0.000000" );
SpawnObject( "bldr_vending_machine", "8481.579102 175.645050 11790.878906", "164.000015 -0.825106 -0.091632" );
SpawnObject( "bldr_vending_machine", "8485.145508 175.590134 11809.095703", "70.983444 0.349033 0.576630" );
SpawnObject( "bldr_vending_machine", "1380.812622 274.359222 9659.650391", "117.977539 -1.282668 1.008419" );
SpawnObject( "bldr_vending_machine", "1632.184692 254.616913 9596.782227", "4.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1611.904175 254.664749 9562.387695", "-90.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1502.684937 273.430908 9767.768555", "94.000031 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1477.950684 274.167023 9764.333984", "-64.969604 2.106918 0.825807" );
SpawnObject( "bldr_vending_machine", "3673.291748 253.926437 11773.828125", "-124.001160 -0.366763 0.183389" );
SpawnObject( "bldr_vending_machine", "3665.462891 257.476196 11776.016602", "-52.999992 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "3724.271240 253.199203 11807.458984", "36.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4800.713379 292.922852 7635.267090", "-39.999996 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4437.946289 317.587036 6722.000000", "50.000004 0.023316 0.058690" );
SpawnObject( "bldr_vending_machine", "4451.632813 317.421936 6684.362305", "140.000061 0.000000 -0.458244" );
SpawnObject( "bldr_vending_machine", "4430.738770 317.431458 6681.845703", "45.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4396.047852 317.441132 6712.905273", "48.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "4420.830078 317.707947 6736.811035", "125.998665 0.458519 -0.183531" );
SpawnObject( "bldr_vending_machine", "4619.243164 303.165680 6337.508789", "58.996925 0.641738 -0.275024" );
SpawnObject( "bldr_vending_machine", "8553.868164 273.896423 8717.266602", "-103.000580 0.275006 -0.091764" );
SpawnObject( "bldr_vending_machine", "8590.772461 273.656555 8648.974609", "159.999954 -0.275004 0.183248" );
SpawnObject( "bldr_vending_machine", "905.045471 245.012634 5473.685059", "-115.999954 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "884.826355 243.835724 5509.100098", "137.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "818.839905 242.390961 5579.292480", "54.999992 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "821.030212 242.390961 5566.113770", "-124.999969 0.000002 -0.000003" );
SpawnObject( "bldr_vending_machine", "843.317017 243.291061 5509.567871", "143.000046 -2.381482 1.009177" );
SpawnObject( "bldr_vending_machine", "3329.988281 488.253387 2043.652222", "2.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "3323.423340 488.801636 2062.968018", "93.000031 0.641753 0.000000" );
SpawnObject( "bldr_vending_machine", "3345.790039 488.920868 2073.514160", "-43.020504 1.283017 -0.916938" );
SpawnObject( "bldr_vending_machine", "1804.109375 201.613205 7333.474609", "174.999985 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1830.646484 202.143433 7319.342285", "-102.999977 -0.000003 0.000015" );
SpawnObject( "bldr_vending_machine", "1831.121216 206.159012 7317.173340", "-103.000000 -0.000000 0.000001" );
SpawnObject( "bldr_vending_machine", "1799.103760 201.743347 7307.415527", "-12.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1652.017334 183.002731 7409.412109", "-105.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1645.760132 182.414307 7482.759766", "166.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1641.125488 182.414307 7481.361328", "161.999954 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1497.310181 177.123337 7524.130859", "-22.000011 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1471.433228 177.145782 7543.676270", "65.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1600.178833 177.951462 7612.520020", "158.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1813.559814 180.497910 7697.084961", "-18.000006 0.000002 -0.000006" );
SpawnObject( "bldr_vending_machine", "1815.761108 184.513489 7690.634766", "159.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "2080.853516 183.017319 7752.144531", "165.999954 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "2012.465820 209.339386 7365.463867", "-104.999992 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "1962.171143 208.028900 7368.175781", "-101.960197 -1.557164 -1.466887" );
SpawnObject( "bldr_vending_machine", "1720.271484 183.007919 7515.906738", "-16.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7655.931641 235.087524 5947.562012", "-29.000013 1.000013 0.000000" );
SpawnObject( "bldr_vending_machine", "7652.645508 239.103104 5943.132813", "153.000015 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7638.359375 234.602127 5989.271484", "153.999954 0.000000 0.275006" );
SpawnObject( "bldr_vending_machine", "7635.884766 238.294312 5990.054688", "-120.000122 0.003839 0.006190" );
SpawnObject( "bldr_vending_machine", "7682.189453 234.982193 5985.624512", "154.999954 0.274848 -1.374795" );
SpawnObject( "bldr_vending_machine", "7676.428223 239.182449 5998.264648", "-27.000008 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "7828.275391 247.216660 5814.501953", "146.999954 0.458380 -0.183392" );
SpawnObject( "bldr_vending_machine", "7863.634277 247.098770 5804.652344", "16.001175 -0.091608 -0.733364" );
SpawnObject( "bldr_vending_machine", "7817.315918 247.442047 5850.622070", "146.999954 0.183245 0.000000" );
SpawnObject( "bldr_vending_machine", "7785.105469 247.674240 5874.737305", "-119.000038 0.091623 0.000000" );
SpawnObject( "bldr_vending_machine", "11386.014648 214.450562 499.760376", "-51.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11414.041016 217.577759 520.529236", "36.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11529.164063 214.317322 510.452179", "55.999992 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11532.643555 217.917542 511.585938", "-50.000004 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11542.953125 218.430222 419.342499", "40.999996 0.000001 -0.000001" );
SpawnObject( "bldr_vending_machine", "11544.776367 214.414642 412.326813", "133.000000 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11582.423828 213.832382 417.687714", "-56.001797 0.274995 -0.366631" );
SpawnObject( "bldr_vending_machine", "11614.338867 213.929932 401.945313", "-142.000046 0.091519 -1.924338" );
SpawnObject( "bldr_vending_machine", "11624.691406 214.371811 368.949677", "-141.000046 0.000000 0.000000" );
SpawnObject( "bldr_vending_machine", "11617.237305 214.371811 382.445892", "-49.000000 -0.000003 0.000002" );
SpawnObject( "bldr_vending_machine", "8902.947266 473.632813 2072.312744", "-159.999954 -2.106982 1.009129" );
SpawnObject( "bldr_vending_machine", "8950.123047 474.509003 2061.951416", "46.001179 -0.183238 -0.366768" );
SpawnObject( "bldr_vending_machine", "9866.467773 353.100250 3777.382568", "95.000031 0.550000 0.000000" );
Weather weather = g_Game.GetWeather();
weather.MissionWeather(false); // false = use weather controller from Weather.c
weather.GetOvercast().Set( Math.RandomFloatInclusive(0.02, 0.1), 1, 0);
weather.GetRain().Set( 0, 1, 0);
weather.GetFog().Set( 0, 1, 0);
//INIT ECONOMY--------------------------------------
Hive ce = CreateHive();
if ( ce )
ce.InitOffline();
//GetCEApi().ExportProxyData( "6500 0 6500", 16000 );
//DATE RESET AFTER ECONOMY INIT-------------------------
int year, month, day, hour, minute;
int reset_month = 8, reset_day = 10;
GetGame().GetWorld().GetDate(year, month, day, hour, minute);
if ((month == reset_month) && (day < reset_day))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
else
{
if ((month == reset_month + 1) && (day > reset_day))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
else
{
if ((month < reset_month) || (month > reset_month + 1))
{
GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
}
}
}
class CustomMission: MissionServer
{
void SetRandomHealth(EntityAI itemEnt)
{
if ( itemEnt )
{
int rndHlt = Math.RandomInt(55,100);
itemEnt.SetHealth("","",rndHlt);
}
}
override PlayerBase CreateCharacter(PlayerIdentity identity, vector pos, ParamsReadContext ctx, string characterName)
{
Entity playerEnt;
playerEnt = GetGame().CreatePlayer(identity, characterName, "12537.2 353.294 1076.2", 0, "NONE");//Creates random player
Class.CastTo(m_player, playerEnt);
GetGame().SelectPlayer(identity, m_player);
return m_player;
}
////PLACE THIS AFTER THE ABOVE LINE STATING return m_player; and closing brace
////BELOW IS WHERE TO EDIT STARTING GEAR
override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
{
TStringArray tops = {"ParamedicJacket_Crimson","HuntingJacket_Summer","PoliceJacketOrel","Raincoat_Pink","M65Jacket_Tan","BDUJacket"};
TStringArray pants = {"HunterPants_Winter","Breeches_Pink","GorkaPants_Summer","Jeans_Grey","BDUPants","PolicePantsOrel"};
TStringArray shoes = {"JoggingShoes_Red","Wellies_Green","WorkingBoots_Yellow","MilitaryBoots_Redpunk"};
TStringArray tool = {"DC_FastTravelTicket"};
TStringArray medic = {"BandageDressing"};
TStringArray drink = {"WaterBottle","Canteen","SodaCan_Kvass","SodaCan_Spite"};
TStringArray food = {"BakedBeansCan","sandwich_mung"};
TStringArray hat = {"PumpkinHelmet","BandanaHead_PolkaPattern","CowboyHat_black","TankerHelmet"};
TStringArray melee = {"SawedoffIzh43Shotgun","Pitchfork","Machete"};
TStringArray vest = {"HuntingVest"};
TStringArray backpack = {"LeatherSack_Black","WaterproofBag_Orange","FurImprovisedBag"};
player.RemoveAllItems();
EntityAI itemEnt;
EntityAI itemIn;
ItemBase itemBs;
EntityAI item = player.GetInventory().CreateInInventory(tops.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetHealth(itemEnt, 20);
EntityAI item2 = player.GetInventory().CreateInInventory(pants.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetHealth(itemEnt, 20);
EntityAI item3 = player.GetInventory().CreateInInventory(shoes.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetHealth(itemEnt, 20);
itemEnt = player.GetInventory().CreateInInventory(tool.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(medic.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(drink.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(food.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(hat.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(melee.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(vest.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
itemEnt = player.GetInventory().CreateInInventory(backpack.GetRandomElement());
itemBs = ItemBase.Cast(itemEnt);
// SetRandomHealth(itemEnt);
//GetClassSelection().GiveClassEquipment(m_player)
}
};
Mission CreateCustomMission(string path)
{
return new CustomMission();
}
Hope this helps Che
but i think it must be use with #include and external xxxxx.c file
how i done it https://disk.yandex.ru/d/DDuD94XGaj-hSQ
Для русскоговорящих админов: это готовые к использованию файлы для Ливонии по шмону торговых автоматов. За координаты мест все спасибо идут Not_Big_Dad_: (