Raised This Month: $100 Target: $400
 25% 

WWA Kill Adv


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Event Related        Approver:   Hawk552 (427)
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-12-2007 , 10:07   WWA Kill Adv
Reply With Quote #1

WWA Kill Adv v1.1
Wall/Water/Air Kill Advanced
*Completely rewritten*

Author: Alka
Version: 1.1
  • Description:
-I saw an "Air Kill" plugin here but is not optimized and supported so "Water / Wall kill" by SAMURAI16.

-With this plugin all players will see a HUD message about a player death, if he was killed through wall or in air / water!
-Message with air / watter kill contain also distance between killer & victim.
-If killer weapon is a "grenade" the plugin is handled!
-Handy, with cvars for any type o message.
  • Cvars:
amx_showkillmsg (Default:1) - Plugin enable / disable.
amx_messagemode (Default:1) - Manage message mode, 1 - HUD, 2 - CHAT
amx_wallmsg (Default:1) - Toggle wall kill message show.
amx_watermsg (Default:1) - Toggle watter kill message show.
(Note:Victim must be in water to show message)
amx_airmsg (Default:1) - Toggle air kill message show.
Attached Files
File Type: sma Get Plugin or Get Source (wwa_kill_adv.sma - 2063 views - 4.2 KB)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 01-24-2008 at 15:31.
Alka is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 06-12-2007 , 10:10   Re: WWA Kill Adv
Reply With Quote #2

nice
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
regalis
Veteran Member
Join Date: Jan 2007
Old 06-12-2007 , 10:20   Re: WWA Kill Adv
Reply With Quote #3

GJ!
Useful plugin
I wonder with what i helped you..0o

Keep on the good work mate

greetz regalis
__________________
regalis is offline
halflife2
Junior Member
Join Date: May 2007
Old 06-12-2007 , 10:42   Re: WWA Kill Adv
Reply With Quote #4

please check the script man,it's uncompilable
halflife2 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-12-2007 , 10:49   Re: WWA Kill Adv
Reply With Quote #5

Oh i forgot to tell...you need "[INC]Fakemeta Utilities" by VEN =>> http://forums.alliedmods.net/showthread.php?t=28284 ,compile the code on you'r local machine!

Thanks for feedback guys
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 06-12-2007 at 10:53.
Alka is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-12-2007 , 11:29   Re: WWA Kill Adv
Reply With Quote #6

@Alka :

It doesn't compile because you are using :

Code:
new bool:is_visible = fm_is_ent_visible(killer,victim,1)

instead of :

Code:
new bool:is_visible = fm_is_ent_visible(killer,victim)

Also, you should copy the "fm_is_ent_visible()" stock from fakemeta_util.inc and adding "include <xs>" in your plugin. Thus your plugin doesn't need this file to compile. ;)
__________________

Last edited by Arkshine; 06-12-2007 at 11:31.
Arkshine is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 06-12-2007 , 12:19   Re: WWA Kill Adv
Reply With Quote #7

Just add the amxx...
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-12-2007 , 13:59   Re: WWA Kill Adv
Reply With Quote #8

@arkshine - No...not there is the problem! ,plugin works fine...just need "fakemeta_util.inc" ;),btw i added the .amxx .

1 - is to ignore monsters!

@Toster
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-12-2007 , 14:21   Re: WWA Kill Adv
Reply With Quote #9

Quote:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Number of arguments does not match definition on line 82

1 Error.
Could not locate output file C:\Documents and Settings\Administrateur.F83DF07FEA0B434\Burea u\PLUGINS REVUS\wwa_kill_adv2.amx (compile failed).


And if I replace what i've said above : " new bool:is_visible = fm_is_ent_visible(killer,victim)"

Quote:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size: 564 bytes
Code size: 4124 bytes
Data size: 2340 bytes
Stack/heap size: 16384 bytes; estimated max. usage=525 cells (2100 bytes)
Total requirements: 23412 bytes
Done.
Code:
stock bool:fm_is_ent_visible(index, entity) { }
.

I don't know why you add "1", after "entity".

About fakemeta_util I think it's better to put in your plugin the stock function to avoid compilation problems. (considering that you're using one stock only)
__________________

Last edited by Arkshine; 06-12-2007 at 14:28.
Arkshine is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-12-2007 , 14:46   Re: WWA Kill Adv
Reply With Quote #10

Oh...ok ok :/ ! I added the "fm_is_ent_visible()" in code and include <xs> .


Thanks
__________________
Still...lovin' . Connor noob! Hello
Alka 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 08:47.


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