Raised This Month: $51 Target: $400
 12% 

Friendly Fire.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kazuki
Senior Member
Join Date: Dec 2008
Old 04-06-2009 , 10:45   Friendly Fire.
Reply With Quote #1

How to make Friendly fire in zombie plague ?? make it like zombie can Friendly fire zombie ,Human also.
kazuki is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-06-2009 , 10:49   Re: Friendly Fire.
Reply With Quote #2

search:
// Ham Take Damage Forward (inflictor = weapon)

and below deletes this:

PHP Code:
// Prevent friendly fire
    
if (g_zombie[attacker] == g_zombie[victim])
        return 
HAM_SUPERCEDE
then find this:
// Ham Trace Attack Forward

and deletes this:

PHP Code:
// Prevent friendly fire
    
if (g_zombie[attacker] == g_zombie[victim])
        return 
HAM_SUPERCEDE
this is only for zombies
__________________
alan_el_more is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 04-06-2009 , 10:55   Re: Friendly Fire.
Reply With Quote #3

how about this :
https://forums.alliedmods.net/showth...=friendly+fire
Anggara_nothing is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 04-06-2009 , 10:57   Re: Friendly Fire.
Reply With Quote #4

or set the "mp_friendlyfire 0" to 1.
Anggara_nothing is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-06-2009 , 11:05   Re: Friendly Fire.
Reply With Quote #5

if you set mp_friendlyfire 1 nothing happens
__________________
alan_el_more is offline
kazuki
Senior Member
Join Date: Dec 2008
Old 04-07-2009 , 02:35   Re: Friendly Fire.
Reply With Quote #6

how about human ?
kazuki is offline
kazuki
Senior Member
Join Date: Dec 2008
Old 04-07-2009 , 05:00   Re: Friendly Fire.
Reply With Quote #7

Quote:
Originally Posted by alan_el_more View Post
search:
// Ham Take Damage Forward (inflictor = weapon)

and below deletes this:

PHP Code:
// Prevent friendly fire
    
if (g_zombie[attacker] == g_zombie[victim])
        return 
HAM_SUPERCEDE
then find this:
// Ham Trace Attack Forward

and deletes this:

PHP Code:
// Prevent friendly fire
    
if (g_zombie[attacker] == g_zombie[victim])
        return 
HAM_SUPERCEDE
this is only for zombies
when i remove it from the zombieplague40, it weird zombie instead of damaging teammate it infecting teammate ???
kazuki 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 10:25.


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