Raised This Month: $ Target: $400
 0% 

Preset KillStreak + Fireworks++ 3.0 = fireworks killstreak = teh best of two worlds!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
apegomp
Junior Member
Join Date: Jul 2007
Old 07-24-2007 , 04:07   Preset KillStreak + Fireworks++ 3.0 = fireworks killstreak = teh best of two worlds!
Reply With Quote #1

I'm using two plugins for The Specialists v2.1, preset_killstreak.amxx and fireworks2.amxx. I want fireworks on event/killstreak, that is, I want my 1337 custom cfg script,
Code:
alias fireworks "firework;shoot_fireworks"
executed whenever I get a streak.
There must be an easy way to script this, like
just replacing the <key> in
Code:
alias fireworks "firework;shoot_fireworks"
bind <key> fireworks
with <event>!

Imagine getting a Double Kill and BOOM! FIREWORKS! \(o_____O)/:

you guys are experienced, I dont' know anything about scripting plugins..
please, someone script it already
*EDIT*
lol double post!
M-M-M-M-MONSTERPOST! D:

Last edited by apegomp; 07-24-2007 at 04:15. Reason: spelling
apegomp is offline
Minimum
Senior Member
Join Date: Jun 2006
Old 07-24-2007 , 14:30   Re: Preset KillStreak + Fireworks++ 3.0 = fireworks killstreak = teh best of two worl
Reply With Quote #2

Try adding this into the event function.

Code:
client_cmd(id,"firework;shoot_fireworks")
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
apegomp
Junior Member
Join Date: Jul 2007
Old 07-24-2007 , 15:48   Re: Preset KillStreak + Fireworks++ 3.0 = fireworks killstreak = teh best of two worl
Reply With Quote #3

Quote:
Originally Posted by Minimum View Post
Try adding this into the event function.

Code:
client_cmd(id,"firework;shoot_fireworks")
+karma. I did it! D: I changed the original code in the Preset KillStreak plugin from
Code:
//-----------------------------------------------------------------------------
stock playStreakSounds(level, killer)
{
    if(g_sSndStreakKiller[level][0])
        client_cmd(killer, "spk %s", g_sSndStreakKiller[level])
to
Code:
//-----------------------------------------------------------------------------
stock playStreakSounds(level, killer)
{
    if(g_sSndStreakKiller[level][0])
        client_cmd(killer, "spk %s", g_sSndStreakKiller[level])
    if(g_sSndStreakKiller[level][0])
        client_cmd(killer, "firework;shoot_fireworks")
apegomp is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode