teh1337
Some call me the Dear Leader-most just say teh1337
Shootable Carepackages on Blackops!
Video:
http://www.youtube.com/watch?v=f-zS2MhyL74
Credits:
Teh1337 - Me - 95% - Found how to spawn a cp and wrote the code
CraigChrist8239 - 5% - Idea
<3 Teh1337 <3
Video:
http://www.youtube.com/watch?v=f-zS2MhyL74
Code:
doCpz()
{
self endon("death");
for(;;)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
teh1337 = BulletTrace( forward, end, 0, self )[ "position" ];
self thread maps\mp\gametypes\_supplydrop::dropCrate(teh1337, self.angles, "supplydrop_mp", self, self.pers["team"]);
wait 0.5; //Prevents spamming!
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
Credits:
Teh1337 - Me - 95% - Found how to spawn a cp and wrote the code
CraigChrist8239 - 5% - Idea
<3 Teh1337 <3