Raised This Month: $ Target: $400
 0% 

The return of the old Unreal Multikill.amx update to AMXX v1.76c


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RCC|Dynamite
Senior Member
Join Date: May 2004
Location: Germany
Old 01-19-2007 , 17:51   The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #1

Hi @ll

Can one of you help me? I would like to use this Plugin for AMXX v1.76c but i have only the old code! What I have to change that it run for AMXX v1.76c?

Code:
/* AMX Mod script. 
* 
* (c) Copyright 2002-2003, OLO 
* This file is provided as is (no warranties). 
* 
*/ 

#include <amxmodx> 

new mkills[33][2] 

#define LEVELS 4
new levels[LEVELS] = {3,4,5,6}
new messages[LEVELS][] = {
	"MultiKill: %s^nwith %d kills (%d hs)",
	"UltraKill: %s^nwith %d kills (%d hs)",
	"MonsterKill: %s^nwith %d kills (%d hs)",
	"KillingSpree: %s^nwith %d kills (%d hs)"
}
new sounds[LEVELS][] = {
	"multikill",
	"ultrakill",
	"monsterkill",
	"killingspree"	
}

public deathmsg_event(){
	new killer = read_data(1)
	new victim = read_data(2)
	if (killer&&get_user_team(killer)!=get_user_team(victim)) { 
		mkills[killer][0]++ 
		mkills[killer][1] += read_data(3) /* headshot */ 
		new param[4]
		param[0] = killer 
		param[1] = mkills[killer][0] 
		set_task(5.0,"check_mkill",0,param,3)
	}
} 

public check_mkill(param[]){
	new id = param[0] 
	new ckills = param[1] 
	if (ckills != mkills[id][0]) /* still killing */
		return PLUGIN_CONTINUE
	if (ckills >= levels[0]){
		for(new a=0;a<LEVELS;++a)
			if (ckills == levels[a]){
				new name[32] 
				get_user_name(id,name,31) 
				set_hudmessage(0, 100, 200, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2) 	
				client_cmd(0,"spk misc/%s",sounds[a])
				show_hudmessage(0,messages[a],name,ckills,mkills[id][1])
				break
			}
	}
	mkills[id][0] = 0
	mkills[id][1] = 0
	return PLUGIN_CONTINUE	
}

public client_putinserver(id){
	mkills[id][0] = 0
	mkills[id][1] = 0
	return PLUGIN_CONTINUE	
}

public plugin_init(){
	register_plugin("MultiKill","0.8","default") 
	register_event("DeathMsg","deathmsg_event","a") 
	return PLUGIN_CONTINUE 
}
__________________

|###########|
|###########|
|###########|
RCC|Dynamite is offline
Send a message via ICQ to RCC|Dynamite
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 01-19-2007 , 17:57   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #2

this plugin need amxmisc.. add in the code #include <amxmisc> and should be work!
Alka is offline
blaaa
Junior Member
Join Date: Sep 2006
Old 01-19-2007 , 18:08   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #3

What is the difference between that plugin and the standard sound plugin from AMX?
blaaa is offline
RCC|Dynamite
Senior Member
Join Date: May 2004
Location: Germany
Old 01-19-2007 , 18:15   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #4

If the player kills other players within 5 seconds of 3-6. Come the following sounds

Code:
#define LEVELS 4
new levels[LEVELS] = {3,4,5,6}
new messages[LEVELS][] = {
	"MultiKill: %s^nwith %d kills (%d hs)",
	"UltraKill: %s^nwith %d kills (%d hs)",
	"MonsterKill: %s^nwith %d kills (%d hs)",
	"KillingSpree: %s^nwith %d kills (%d hs)"
Itīs not the same like ureal sounds there kills counted which one reached if the player occasionally did not die.

Fast kill the came the sound and the HuD.

Test it, itīs funny
__________________

|###########|
|###########|
|###########|
RCC|Dynamite is offline
Send a message via ICQ to RCC|Dynamite
saucebot
New Member
Join Date: Feb 2013
Old 02-07-2013 , 02:17   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #5

I'm sorry for digging up this old topic, but I can't make this to work on Amxmodx 1.8.1.

Back in 2007/2008, it was working perfectly, but I lost my files with my HDD (it burned up). I found this plugin again, but It's just not working. I guess it was on 1.76 or 1.8.

I'm trying to run it on a Half-Life server.
Any help is appreciated Thanks in advance.

Last edited by saucebot; 02-07-2013 at 02:19.
saucebot is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-08-2013 , 00:36   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #6

There are newer plugins that do this type of stuff. Use one of those.
__________________
fysiks is offline
saucebot
New Member
Join Date: Feb 2013
Old 02-12-2013 , 23:55   Re: The return of the old Unreal Multikill.amx update to AMXX v1.76c
Reply With Quote #7

Thenks for your reply.

I searched for plugins who does the same job, but without success.
I know there are plugins that play the sounds - ultimate sounds, ut killstreak advance, but their killstreak is till player get's killed.
This one's killstreak is for limited time. You have 5 seconds to make another kill and then it resets.

Anyway, I'll keep lookung for something similar. Thanks.
saucebot is offline
Reply



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 22:20.


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