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

[ZP] Auto Revive After Connect


Post New Thread Reply   
 
Thread Tools Display Modes
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 09-23-2010 , 13:15   Re: [ZP] Auto Revive After Connect
Reply With Quote #31

Quote:
Originally Posted by Hammerfallerz View Post
I use this.
It respawns connected player after 15 second if it is NOT swarm / plague / nemesis / survivor / only 1 human is alive. Will respawn player as a zombie (so some suckers won't abuse this plugin to reconnect and spawn as a human)
Works like a charm.
Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
 
#define PLUGIN "Respawn"
#define VERSION "1.0"
#define AUTHOR "ILUSION"
 
new respawn_connect
 
public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    respawn_connect = register_cvar("zp_respawn_connect", "1")
    register_cvar("zp_respawn_version", VERSION, FCVAR_SERVER)
}
 
public client_putinserver(id)
{
    set_task(15.0, "check", id)
}
 
public check(id)
{
    if (get_pcvar_num(respawn_connect))
    {
        if (!is_user_alive(id) && !zp_is_nemesis_round() && !zp_is_plague_round() && !zp_is_survivor_round() && !zp_is_swarm_round() && (zp_get_human_count() > 1))
        {
            zp_respawn_user(id, ZP_TEAM_ZOMBIE)
        }
    }
 
    return PLUGIN_HANDLED
}
Tested? And Works ?
.Dare Devil. is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 09-25-2010 , 14:10   Re: [ZP] Auto Revive After Connect
Reply With Quote #32

lol didn't knew this was public
thanks
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
sunx
Veteran Member
Join Date: Mar 2009
Location: Germany
Old 09-25-2010 , 14:30   Re: [ZP] Auto Revive After Connect
Reply With Quote #33

Quote:
Originally Posted by georgik57 View Post
lol didn't knew this was public
thanks
take my one, its much better ...
__________________

sunx is offline
Tomi858
Member
Join Date: Aug 2008
Old 09-28-2010 , 10:47   Re: [ZP] Auto Revive After Connect
Reply With Quote #34

Poland translate:

Code:
[pl]
YOU_HAVE_BEEN_REVIVED = Zostales ozywiony!
__________________
Sorry for my English, I use translator.
Tomi858 is offline
Hammerfallerz
Senior Member
Join Date: Feb 2008
Old 09-28-2010 , 16:23   Re: [ZP] Auto Revive After Connect
Reply With Quote #35

Quote:
Originally Posted by .Dare Devil. View Post
Tested? And Works ?
I've been using it for like 2 years.
Hammerfallerz 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 06:21.


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