AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   MonsterMod: How to kill a monster +1 frags? (https://forums.alliedmods.net/showthread.php?t=98311)

ds811888 07-24-2009 11:11

MonsterMod: How to kill a monster +1 frags?
 
How to kill a monster +1 frags? I need in some zombie mod. +4k

Arkshine 07-24-2009 11:21

Re: MonsterMod: How to kill a monster +1 frags?
 
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 );         }     }

ds811888 07-26-2009 05:23

Re: MonsterMod: How to kill a monster +1 frags?
 
Nice! +k!


All times are GMT -4. The time now is 18:26.

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