What is it?
Its script show NextMap on HUD
Report with any bugs in this thread.
source
@Dude for www.itsmods.com only
Its script show NextMap on HUD
Screenshot (Click to View)
Version (Click to View)
change log (Click to View)
source
Code:
using System;
using System.Collections.Generic;
using InfinityScript;
using System.IO;
namespace nextmaphd
{
public class nextmaphud : BaseScript
{
// base
public nextmaphud(): base()
{
// {}
PlayerConnected += new Action<Entity>(entity =>
{
// NextMap
NextMap = Call<string>(47, "nextmap");
// ( Dsr ...)
string[] split = NextMap.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
// HUD'a 0,8f , hudsmall (entity)
HudElem hudElem = HudElem.CreateFontString(entity, "hudsmall", 0.8f);
// HUD' , x,y - 190,55
hudElem.SetPoint("TOPLEFT", "TOPLEFT", 190, 55);
// - split (
// , HUD
if (split[0] == "mp_alpha")
{
hudElem.SetText("Next map is: ^1 Lockdown");
}
else if (split[0] == "mp_bootleg")
{
hudElem.SetText("Next map is: ^1 Bootleg");
}
else if (split[0] == "mp_carbon")
{
hudElem.SetText("Next map is: ^1 Carbon");
}
else if (split[0] == "mp_dome")
{
hudElem.SetText("Next map is: ^1 Dome");
}
else if (split[0] == "mp_exchange")
{
hudElem.SetText("Next map is: ^1 Downturn");
}
else if (split[0] == "mp_hardhat")
{
hudElem.SetText("Next map is: ^1 Hardhat");
}
else if (split[0] == "mp_interchange")
{
hudElem.SetText("Next map is: ^1 Interchange");
}
else if (split[0] == "mp_mogadishu")
{
hudElem.SetText("Next map is: ^1 Bakaara");
}
else if (split[0] == "mp_paris")
{
hudElem.SetText("Next map is: ^1 Resistance");
}
else if (split[0] == "mp_plaza2")
{
hudElem.SetText("Next map is: ^1 Arkaden");
}
else if (split[0] == "mp_radar")
{
hudElem.SetText("Next map is: ^1 Outpost");
}
else if (split[0] == "mp_seatown")
{
hudElem.SetText("Next map is: ^1 Seatown");
}
else if (split[0] == "mp_underground")
{
hudElem.SetText("Next map is: ^1 Underground");
}
else if (split[0] == "mp_village")
{
hudElem.SetText("Next map is: ^1 Village");
}
else if (split[0] == "mp_bravo")
{
hudElem.SetText("Next map is: ^1 Mission");
}
else
{
hudElem.SetText("Next map is: ^1" + split[0]);
}
});
}
//
private string NextMap;
}
}


![[Image: 16522c6370ba.png]](http://s010.radikal.ru/i313/1501/9e/16522c6370ba.png)
