istacspawntouchingcrates( origin, angles )
{
crate_ents = getentarray( "care_package", "script_noteworthy" );
mins = ( -17, -17, -40 );
maxs = ( 17, 17, 40 );
i = 0;
while ( i < crate_ents.size )
{
if ( crate_ents[ i ] istouchingvolume( origin + vectorScale( ( 0, 0, 1 ), 40 ), mins, maxs ) )
{
return 1; //<<<<<<<<<<<<<<<< change this to 0 to be able to place down on crates
}
i++;
}
return 0;
}
istacspawntouchingcrates( origin, angles )
{
return 0;
}
istacspawntouchingcrates( origin, angles )
{
crate_ents = getentarray( "care_package", "script_noteworthy" );
mins = ( -17, -17, -40 );
maxs = ( 17, 17, 40 );
i = 0;
while ( i < crate_ents.size )
{
if ( crate_ents[ i ] istouchingvolume( origin + vectorScale( ( 0, 0, 1 ), 40 ), mins, maxs ) )
{
return 1; //<<<<<<<<<<<<<<<< change this to 0 to be able to place down on crates
}
i++;
}
return 0;
}
istacspawntouchingcrates( origin, angles )
{
return 0;
}

TInotarapperm8()
{
self endon("game_ended");
self endon("disconnect");
self endon("Safeend");
if(self.tac == 0)
{
self.tac = 1;
self.saveorigin=self.Origin;
self.saveangles=self.Angles;
self thread TacEffect();
wait 0.5;
self notify("stop_Taceffect");
self iPrintln("Tactical Insertion: ^7[^2Activated^7]");
self waittill("spawned_player");
self setOrigin(self.saveorigin);
self setPlayerAngles(self.saveangles);
self iPrintln("^2Teleported!");
self.tac = 0;
self notify("Safeend");
self notify("stop_Tacend");
}
else if(self.tac == 1)
{
self iPrintln("^1Error^7: Tac Already spawned.");
}
}
TacEffect()
{
self endon("disconnect");
self endon("stop_Tacend");
self endon("game_ended");
TacOrbs = loadfx("weapon/qr_drone/fx_qr_light_green_3p");
Tacorbs66 = spawnFx(TacOrbs,self.origin);
triggerFx(TacOrbs66);
self waittill("death");
tacOrbs66 delete();
for(;
{
self waittill("stop_Taceffect");
tacOrbs66 delete();
self notify("stop_Tacend");
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.