Raised This Month: $ Target: $400
 0% 

I wonder how I can Faser a New Plague Zombie-Mod on 4.3.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-18-2011 , 12:54   Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
Reply With Quote #7

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <zombieplague>

public plugin_init()
{
    
register_plugin("[ZP] Sub-Plugin for Marcoash""1.0""9 3 () |2 9 ! /<")
    
RegisterHam(Ham_Killed"player""fw_PlayerKilled_Post"1)
}

public 
fw_PlayerKilled_Post(victimattackershouldgib)
{
    static 
selfkill
    selfkill 
= (victim == attacker || !is_user_connected(attacker)) ? true false
    
    
if (selfkill || !zp_is_swarm_round()
    !
get_cvar_num("zp_deathmatch"))
        return;
    
    
set_task(3.1"humanize"attacker)
    
set_task(3.1"respawn_as_zombie"victim)
}

public 
humanize(id)
    
zp_disinfect_user(id1)

public 
respawn_as_zombie(id)
    
zp_respawn_user(idZP_TEAM_ZOMBIE
Attached Files
File Type: sma Get Plugin or Get Source (zp_sub_marcosah.sma - 549 views - 697 Bytes)
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
 



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


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