Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear Killstreak
#1
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
Reply

#2
self.killstreak[0] = "none";
self.killstreak[1] = "none";
self.killstreak[2] = "none";
Clears ALL killstreaks
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
(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
[Image: azuw.jpg]
Reply

#4
(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
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
(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
[Image: azuw.jpg]
Reply

#6
(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
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#7
This is Black Ops coding, not mw2
Reply

#8


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)"
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Duration killstreak The Tronuo 2 2,813 07-12-2013, 18:33
Last Post: The Tronuo
  Preview Tank Killstreak Yamato 16 10,620 05-27-2013, 14:47
Last Post: Yamato
  [GSC] All Weapon/Camo/Perk/Killstreak Names DEREKTROTTER 33 26,181 01-30-2013, 15:26
Last Post: 99IRock
  [Request] Give KillStreak yuri8597 1 2,491 10-29-2012, 01:31
Last Post: DidUknowiPwn
  [Request] weapon/killstreak giver jari333 2 2,728 10-17-2012, 18:56
Last Post: OzonE
  Killstreak On/Off codehelp RaZ 13 7,036 06-20-2012, 09:47
Last Post: RaZ
  [Tutorial] Killstreak list Yamato 0 2,581 06-08-2012, 12:25
Last Post: Yamato
  Anti Killstreak Editing AboAlwe 5 4,333 04-28-2012, 11:00
Last Post: schoerg
  [Request] Killstreak delay time Dumas 2 2,741 04-18-2012, 23:18
Last Post: Dumas
  [Release] install now ItsModLoader - mw3 Killstreak - Classes - Leveling - MOD hussi 3 3,347 04-03-2012, 01:58
Last Post: AZUMIKKEL

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.