03-26-2011, 04:21
(This post was last modified: 03-26-2011, 04:23 by rotceh_dnih.)
hey still trying to do custom killstreaks but not understandering it lol can i ask would this
mean on 5 kill's??? because i would like to do is disable killstreak's in privite match settings and just make my own calling in killtreak's and custom stuff aswell ie
2 kill's give spy plane and at say 7 kill's call Rpg shooting minigun like this
then at 11 give dog's, and to disable players normal killstreaks so thay dont get them as well as the one's i setup
Code:
case 5:
self KillstreakNotify(HARDPOINT TYPE, "Press [{+actionslot 4}] for blalblab");
break;
2 kill's give spy plane and at say 7 kill's call Rpg shooting minigun like this
Code:
//this in onspawned player
self thread atPlayerShootmini();
//this in the elusive givekillstreak at 7 kill's lol
self givemini();
Code:
givemini()
{
self giveWeapon( "minigun_mp", 0 );
self SetActionSlot( 3, "weapon", "minigun_mp" );
}
atPlayerShoot()
{
self endon("disconnect");
for(;;)
{
self waittill( "weapon_fired" );
if(self getcurrentweapon() != "minigun_mp") continue;
location = aim();
MagicBullet( "rpg_mp", self getTagOrigin("tag_eye"), location, self );
}
}
aim()
{
forward = self getTagOrigin("tag_eye");
end = self vector_multiply(anglestoforward(self getPlayerAngles()),1000000);
Crosshair = BulletTrace( forward, end, true, self )[ "position" ];
return Crosshair;
}
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie
Twitter: https://twitter.com/#!/rotceh_dnih
Youtube: http://www.youtube.com/user/TheMrStacie
Twitter: https://twitter.com/#!/rotceh_dnih