Raised This Month: $32 Target: $400
 8% 

[ZP] auto Respawn ( Only Mode Infection! ) -- Help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dare-Devil
BANNED
Join Date: Apr 2010
Location: Estonian , Tartu
Old 08-29-2010 , 11:22   [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #1

What is wrong?

PHP Code:
#include < amxmodx >
#include < zombieplague >
public plugin_init( )
{
    
register_plugin"[ZP] Auto-Respawn On Connect" "1.0" "@bdul!" )
}
public 
client_putinserverid )
{
    
client_printid print_chat "[ZP] This server is using auto respawner." )
    
client_printid print_chat "[ZP] You will automatically respawn after 2 seconds." )
    
set_task2.0 "zp_respawn_him" id )
}
public 
zp_respawn_himidmode )
 if (
mode != MODE_NEMESIS)
  return
    
zp_respawn_userid ZP_TEAM_ZOMBIE 
I'm attempting to do for several days, but can not cope!
please someone help me...
Dare-Devil is offline
Send a message via MSN to Dare-Devil
takkinyuen
Junior Member
Join Date: Jul 2009
Old 08-29-2010 , 11:36   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #2

use
if(!zp_is_nemesis_round())
instead of
if (mode != MODE_NEMESIS)
takkinyuen is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 08-29-2010 , 11:42   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #3

here
cvar: zp_respawn_on_connect 0/1
Attached Files
File Type: sma Get Plugin or Get Source (zp_sub_aroc.sma - 1537 views - 504 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
Dare-Devil
BANNED
Join Date: Apr 2010
Location: Estonian , Tartu
Old 08-29-2010 , 15:05   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #4

Quote:
Originally Posted by georgik57 View Post
here
cvar: zp_respawn_on_connect 0/1
This Plugin Crash My server
When PLayer Connect Server, Then ... Down
Dare-Devil is offline
Send a message via MSN to Dare-Devil
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 08-29-2010 , 15:56   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #5

try now
Attached Files
File Type: sma Get Plugin or Get Source (zp_sub_aroc.sma - 1421 views - 514 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
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-29-2010 , 16:22   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #6

i have posted a plugin , please search.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
andros
Member
Join Date: Oct 2011
Location: Kusadak
Old 06-28-2013 , 06:51   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #7

I can not find plugin - Auto respawn (only on Infection mode)
Please, if anyone can make it to the zombie plague advance?
__________________
andros is offline
Send a message via Skype™ to andros
andros
Member
Join Date: Oct 2011
Location: Kusadak
Old 07-01-2013 , 06:15   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #8

Bump?
andros is offline
Send a message via Skype™ to andros
andros
Member
Join Date: Oct 2011
Location: Kusadak
Old 07-16-2013 , 18:40   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #9

Quote:
Originally Posted by lucas_7_94 View Post
i have posted a plugin , please search.
Link?
andros is offline
Send a message via Skype™ to andros
kam3n1tza
Member
Join Date: Jul 2011
Old 07-17-2013 , 04:52   Re: [ZP] auto Respawn ( Only Mode Infection! ) -- Help!
Reply With Quote #10

This?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplaguenew1.3>

#define TASK_TIME 5.0

new g_TeamJoin[33]

public 
plugin_init (){
    
register_plugin("[ZP] Addon: Auto-Respawn","1.1","LuqqasBugsy&Hattrick");
    
register_event("TeamInfo","fwPlayerJoinedTeam","a","2=TERRORIST","2=CT");
}
public 
client_connect(id){
    
g_TeamJoin[id]=0;
}
public 
fwPlayerJoinedTeam(){
    static 
id;
    
id=read_data(1);
    if(!
g_TeamJoin[id])g_TeamJoin[id]=1;
    else{
        
g_TeamJoin[id]=0;
        if(!
zp_is_nemesis_round() && !zp_is_plague_round() && !zp_is_assassin_round() && !zp_is_sniper_round() && !zp_is_survivor_round() && !zp_is_swarm_round()) set_task(TASK_TIME,"respawn_player",id);
    }
}
public 
respawn_player(id){
    
zp_respawn_user(id,ZP_TEAM_ZOMBIE);

kam3n1tza is offline
Reply


Thread Tools
Display Modes

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:49.


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