ItsMods

Full Version: How to make a killstreak?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys I was wondering how to make a killstreak,
Here's what I need:
A killstreak that requires 25 kills
When you send it out text that says "tactical nuke incoming!"

I already have the killstreak itself (thanks NITRAM)
Code:
if(self.pers["cur_kill_streak"] == 25)
{
give nuke
}
(01-21-2011, 14:56)4FunPlayin Wrote: [ -> ]
Code:
if(self.pers["cur_kill_streak"] == 25)
{
give nuke
}

sry for noobish question but where would that go?
(01-21-2011, 15:31)superbomb17 Wrote: [ -> ]
(01-21-2011, 14:56)4FunPlayin Wrote: [ -> ]
Code:
if(self.pers["cur_kill_streak"] == 25)
{
give nuke
}

sry for noobish question but where would that go?
inside for(;; ) in onplayerspawned()
In the event that handles the other killstreaks
maybe _killstreak.gsc?