Originally posted by smoochy1993
this should work bro
code: doCarePBullets()
{
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");
}
}