AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   I wonder how I can Faser a New Plague Zombie-Mod on 4.3. (https://forums.alliedmods.net/showthread.php?t=155185)

marcosah 04-18-2011 12:24

I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
Hello Friends! I'm Mark I'm from Brazil.
I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
Ex: DeathMatch Mode, 50% and 50% Human Zombies, zombies Mata When the human depos 3 seconds he turns human and the human who died nace as zombie!

Could someone help me?:cry:

Video: :3
http://youtu.be/FQ-SBdnr0qo?hd=1

georgik57 04-18-2011 12:45

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
the killed player is spawned as a nemesis or as a zombie?
what kind of round is it? swarm or plague?

marcosah 04-18-2011 12:48

the human kind kills the zombies if they have less life below the patterns ally
if the zombie killing a human, he had become human in 3 seconds, and turns human killed by zombies zombies!

EDIT:

the killed player is spawned as a nemesis or as a zombie?
------


As an enemy!

EDIT:

the round is DeathMatch Mode, is a kind of round nemesis

georgik57 04-18-2011 12:54

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
1 Attachment(s)
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


marcosah 04-18-2011 12:59

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
cool I'll try it!

marcosah 04-18-2011 13:09

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
Error!

http://i.imgur.com/m3TtP.png

georgik57 04-18-2011 13:11

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
1 Attachment(s)
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 || !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


marcosah 04-18-2011 13:28

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
Friend this mod is to put the zombie advance?

georgik57 04-18-2011 13:28

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
you can use it with any zp

marcosah 04-18-2011 13:33

Re: I wonder how I can Faser a New Plague Zombie-Mod on 4.3.
 
masi how can I add in:
http://i.imgur.com/l4Bca.png
Or:
http://i.imgur.com/XVzoM.png


All times are GMT -4. The time now is 20:02.

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