level.Position["Hijacked"][0] = Spawn things;
level.Position["Hijacked"][1] = Spawn things;
level.Position["Hijacked"][2] = Spawn things;
level.Position["Hijacked"][3] = Spawn things;
level.Position["Hijacked"][4] = Spawn things;
level.Position["Hijacked"][5] = Spawn things;
if(Map() == "Hijacked")
{
for(i = 0; i < 5; i++)
===========> {
level.Position["Hijacked"][i];
wait 10;
}
}
Moveammo(origin, ang)
{
level.Ammoorigin moveto(origin , 1);
level.Ammoorigin.angles = ang;
}
AmmoCrate(origin,ang)
{
level.Ammoorigin = spawn("script_model", origin));
level.Ammoorigin.angles = ang;
level.Ammoorigin setModel("t6_wpn_supply_drop_ally");
level thread Ammo_Think();
}
Ammo_Think()
{
level endon("game_ended");
level endon("doneforge");
for(;
{
foreach(player in level.players)
{
if (player.nearAmmo && !player.usingAmmo)
{
if (!isDefined(player.AmmoStringCreated))
{
player.AmmoHintString = player drawText("Press [{+usereload}] For Ammo", "objective", 1.5, 0, -50, (1, 1, 1), 1, (0, 0, 0), 0,
;
player.AmmoHintString.alignX = "center";
player.AmmoHintString.alignY = "bottom";
player.AmmoHintString.horzAlign = "center";
player.AmmoHintString.vertAlign = "bottom";
player.usingAmmo = false;
player.AmmoStringCreated = true;
}
else
player.AmmoHintString.alpha = 1;
}
else
player.AmmoHintString.alpha = 0;
if(Distance(player.origin, level.Ammoorigin.origin) < 60 && !player.usingAmmo)
{
player.nearAmmo = true;
if (player UseButtonPressed())
player Ammo_Player_Think();
}
else
player.nearAmmo = false;
}
wait 0.0001;
}
wait 0.01;
}
Ammo_Player_Think()
{
self.usingAmmo = true;
self.AmmoHintString.alpha = 0;
currentWeapon = self getcurrentweapon();
if ( currentWeapon != "none" )
{
self setweaponammoclip( currentWeapon, weaponclipsize(currentWeapon) );
self givemaxammo( currentWeapon );
}
currentoffhand = self getcurrentoffhand();
self setweaponammoclip( currentoffhand, weaponclipsize(currentoffhand) );
self givemaxammo( currentoffhand );
wait 0.2;
self.usingAmmo = false;
}
drawText(text, font, fontScale, x, y, color, alpha, glowColor, glowAlpha, sort, allclients)
{
if (!isDefined(allclients))
allclients = false;
if (!allclients)
hud = self createFontString(font, fontScale);
else
hud = level createServerFontString(font, fontScale);
hud setText(text);
hud.x = x;
hud.y = y;
hud.color = color;
hud.alpha = alpha;
hud.glowColor = glowColor;
hud.glowAlpha = glowAlpha;
hud.sort = sort;
hud.alpha = alpha;
return hud;
}
level.pos = level.Position["Hijacked"][i]);
Copyright © 2026, NextGenUpdate.
All Rights Reserved.