Raised This Month: $ Target: $400
 0% 

MonsterMod: How to kill a monster +1 frags?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 07-24-2009 , 11:11   MonsterMod: How to kill a monster +1 frags?
Reply With Quote #1

How to kill a monster +1 frags? I need in some zombie mod. +4k
ds811888 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-24-2009 , 11:21   Re: MonsterMod: How to kill a monster +1 frags?
Reply With Quote #2

Could you try that :

Code:
    #include <amxmodx>     #include <fakemeta>     #include <hamsandwich>         public plugin_init ()     {         register_plugin( "Frags By Monster Killed", "1.0.0", "Arkshine" );         RegisterHam( Ham_Killed, "func_wall", "CMonster_Killed", 1 );     }         public CMonster_Killed ( const Monster, const Inflictor, const Killer )     {         if ( pev( Monster, pev_flags ) & FL_MONSTER && is_user_alive( Killer ) )         {             ExecuteHamB( Ham_AddPoints, Killer, 1, false );         }     }
__________________
Arkshine is offline
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 07-26-2009 , 05:23   Re: MonsterMod: How to kill a monster +1 frags?
Reply With Quote #3

Nice! +k!
ds811888 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 18:26.


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