vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
vectorScale
which seems to take the same amount of parameters. I tried using vectorScale instead of vector_scal and it always worked except for once. It froze the game on the shooting fake care packages mod. Why is that? Aren't those functions identical? Apparently not. Anyone who knows their actual difference? 
// Working just fine
carepBullets()
{
self endon("stop_bullets2");
while(1)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = bulletTrace( forward, end, 0, self )[ "position" ];
M = spawn("script_model",SPLOSIONlocation);
M setModel("t6_wpn_supply_drop_ally");
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
// Freezes when gun is fired
carepBullets()
{
self endon("stop_bullets2");
while(1)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vectorScale(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = bulletTrace( forward, end, 0, self )[ "position" ];
M = spawn("script_model",SPLOSIONlocation);
M setModel("t6_wpn_supply_drop_ally");
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
vectorScale
which seems to take the same amount of parameters. I tried using vectorScale instead of vector_scal and it always worked except for once. It froze the game on the shooting fake care packages mod. Why is that? Aren't those functions identical? Apparently not. Anyone who knows their actual difference? 
// Working just fine
toggleFakeCarePackageBullets()
{
if(self.bullets2==false)
{
self thread carepBullets();
self.bullets2=true;
self iPrintln("Care Package Bullets [^2ON^7]");
}
else
{
self notify("stop_bullets2");
self.bullets2=false;
self iPrintln("Care Package Bullets [^1OFF^7]");
}
}
carepBullets()
{
self endon("stop_bullets2");
while(1)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = bulletTrace( forward, end, 0, self )[ "position" ];
M = spawn("script_model",SPLOSIONlocation);
M setModel("t6_wpn_supply_drop_ally");
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
// Freezes when gun is fired
toggleFakeCarePackageBullets()
{
if(self.bullets2==false)
{
self thread carepBullets();
self.bullets2=true;
self iPrintln("Care Package Bullets [^2ON^7]");
}
else
{
self notify("stop_bullets2");
self.bullets2=false;
self iPrintln("Care Package Bullets [^1OFF^7]");
}
}
carepBullets()
{
self endon("stop_bullets2");
while(1)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vectorScalr(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = bulletTrace( forward, end, 0, self )[ "position" ];
M = spawn("script_model",SPLOSIONlocation);
M setModel("t6_wpn_supply_drop_ally");
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.