ItsMods

Full Version: Clear Killstreak
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, i have a problem to clear Killstreak after round.

Quote: if (level.round == 1)
{
self giveWeapon("ak74u_rf_mp");
self setWeaponAmmoStock("ak74u_rf_mp", 300);
self switchToWeapon("ak74u_rf_mp");
self thread refillammo();
self maps\mp\gametypes\_hardpoints::giveKillstreak("helicopter_comlink_mp" );
}
else if (level.round == 2)
{
self giveWeapon("commando_silencer_mp");
self setWeaponAmmoStock("commando_silencer_mp", 300);
self switchToWeapon("commando_silencer_mp");
self thread refillammo();
self maps\mp\gametypes\_hardpoints::giveKillstreak("uav_mp" );
}


They Bots using the Heli and if the round 1 is over (all bots dead)
they have in round two still the heli killstreak, how i can remove id after each round?

bg p2tK
self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks
(10-16-2011, 13:40)Se7en Wrote: [ -> ]self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks

That is the gay way to clear killstreaks. And also it's not what p2tk asked.

@p2tk I think there is a function which clears the killstreaks, but I don't know anymore
(10-16-2011, 13:53)zxz0O0 Wrote: [ -> ]
(10-16-2011, 13:40)Se7en Wrote: [ -> ]self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks

That is the gay way.

Fuu
why ? Its easier
(10-16-2011, 13:54)Se7en Wrote: [ -> ]
(10-16-2011, 13:53)zxz0O0 Wrote: [ -> ]
(10-16-2011, 13:40)Se7en Wrote: [ -> ]self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks

That is the gay way.

Fuu
why ? Its easier

Because after playing you need to set your killstreaks again. Most time you will forget that and then wonder why you don't get nuke after 25 killstreakFuu
(10-16-2011, 13:59)zxz0O0 Wrote: [ -> ]
(10-16-2011, 13:54)Se7en Wrote: [ -> ]
(10-16-2011, 13:53)zxz0O0 Wrote: [ -> ]
(10-16-2011, 13:40)Se7en Wrote: [ -> ]self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks

That is the gay way.

Fuu
why ? Its easier

Because after playing you need to set your killstreaks again. Most time you will forget that and then wonder why you don't get nuke after 25 killstreakFuu

ah lol D:
Then look into _killstreaks.gsc for somthing
This is Black Ops coding, not mw2


Quote:if (level.round == 1)
{
self giveWeapon("ak74u_rf_mp");
self setWeaponAmmoStock("ak74u_rf_mp", 300);
self switchToWeapon("ak74u_rf_mp");
self thread refillammo();
self maps\mp\gametypes\_hardpoints::giveKillstreak("helicopter_comlink_mp" );
}
self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
else if (level.round == 2)
{
self giveWeapon("commando_silencer_mp");
self setWeaponAmmoStock("commando_silencer_mp", 300);
self switchToWeapon("commando_silencer_mp");
self thread refillammo();
self maps\mp\gametypes\_hardpoints::giveKillstreak("napalm_mp" );
}




they said bad syntaxx in "else if (level.round == 2)"