Post: Care Package Bullets.
10-08-2010, 10:33 PM #1
CHAOZ
Banned
(adsbygoogle = window.adsbygoogle || []).push({}); sup.


[ame]https://www.youtube.com/watch?v=MBrnnCYtz_0[/ame]


Code below allows you to shoot out care packages. Care packages that are usable. Just thought this should be posted , would be nice in a patch.

    
shootCarePackage()
{
self endon("death");
for(;Winky Winky
{
self waittill( "weapon_fired" );
self thread maps\mp\killstreaks\_airdrop::dropTheCrate( self GetCursorPos(), "airdrop", self GetCursorPos()[2], true, undefined, self GetCursorPos() );
self notify( "drop_crate" );
}
}

GetCursorPos()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}

vector_scal(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}


via 7sins.
(adsbygoogle = window.adsbygoogle || []).push({});
10-08-2010, 10:35 PM #2
DEREKTROTTER
You're Goddamn Right
nice, i will add this Smile

The following user thanked DEREKTROTTER for this useful post:

DanGFX
10-08-2010, 10:46 PM #3
XeDa
Banned
Ah. Thanks for this :O
10-08-2010, 10:53 PM #4
where do you paste the code
10-08-2010, 11:25 PM #5
Nice job Thanked
10-08-2010, 11:34 PM #6
Originally posted by RUFFINGUY View Post
sup.
Code below allows you to shoot out care packages. Care packages that are usable. Just thought this should be posted , would be nice in a patch.

    
shootCarePackage()
{
self endon("death");
for(;Winky Winky
{
self waittill( "weapon_fired" );
self thread maps\mp\killstreaks\_airdrop::dropTheCrate( self GetCursorPos(), "airdrop", self GetCursorPos()[2], true, undefined, self GetCursorPos() );
self notify( "drop_crate" );
}
}

GetCursorPos()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}

vector_scal(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}


via 7sins.


Added =D

Thanks man this will make it fun =D
10-08-2010, 11:35 PM #7
BigFudge
Vault dweller
cheers where do i add this in the missions?
10-08-2010, 11:35 PM #8
pop33
Cooking up some nades
WOW! This is pretty cool!!! Thanks for the code!
10-09-2010, 12:03 AM #9
dansbmx
BAY AREA*925*STUNTIN
Thanks thats cool we can shoot ac130 cp's at people lol
10-09-2010, 12:09 AM #10
Karoolus
I'm the W@W Menu Guy !
GREAT :d
would be nice if you'd have a menu to chose what you want to shoot :p
i'm gonna give that guy a chopper, BAM Happy
that guy, mmhm, don't like him, let's give him ammo :p

The following user thanked Karoolus for this useful post:

IDontbreak

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo