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

Is this work fine?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MilisyaTechlo
Member
Join Date: Feb 2011
Location: South Korea
Old 03-06-2011 , 07:17   Is this work fine?
Reply With Quote #1

i made connect respawn plugn.

i'm a basic baby of amxx..

PHP Code:
#include <amxmodx>
#include <zombieplague>
 
#define PLUGIN "[ZP] Addons: Connect Respawn"
#define VERSION "1.0"
#define AUTHOR "MilisyaTechlo"
 
public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
rockstar_norazo(id) {
 if(
is_user_alive(id)) {
  return 
PLUGIN_CONTINUE
 
}
 
 
zp_respawn_user(idZP_TEAM_ZOMBIE)
 return 
PLUGIN_CONTINUE


Last edited by MilisyaTechlo; 03-06-2011 at 07:19.
MilisyaTechlo is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 03-06-2011 , 07:29   Re: Is this work fine?
Reply With Quote #2

Quote:
Originally Posted by MilisyaTechlo View Post
i made connect respawn plugn.

i'm a basic baby of amxx..

PHP Code:
#include <amxmodx>
#include <zombieplague>
 
#define PLUGIN "[ZP] Addons: Connect Respawn"
#define VERSION "1.0"
#define AUTHOR "MilisyaTechlo"
 
public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
rockstar_norazo(id) {
 if(
is_user_alive(id)) {
  return 
PLUGIN_CONTINUE
 
}
 
 
zp_respawn_user(idZP_TEAM_ZOMBIE)
 return 
PLUGIN_CONTINUE

whether this should not be?


PHP Code:
#include <amxmodx>
#include <zombieplague>
 
#define PLUGIN "[ZP] Addons: Connect Respawn"
#define VERSION "1.0"
#define AUTHOR "MilisyaTechlo"
 
public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
client_connect(id)
{
rockstar_norazo()
}
 
public 
rockstar_norazo(id) {
 if(
is_user_alive(id)) {
  return 
PLUGIN_CONTINUE
 
}
 
 
zp_respawn_user(idZP_TEAM_ZOMBIE)
 return 
PLUGIN_CONTINUE

.Dare Devil. is offline
artos
Senior Member
Join Date: Mar 2010
Old 03-06-2011 , 07:55   Re: Is this work fine?
Reply With Quote #3

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

#define PLUGIN "[ZP] Addons: Connect Respawn"
#define VERSION "1.0"
#define AUTHOR "MilisyaTechlo"

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
client_connect(id)
{
    
rockstar_norazo(id)
}

public 
rockstar_norazo(id
{
    if(!
is_user_alive(id)) 
    {
        
zp_respawn_user(idZP_TEAM_ZOMBIE)
    }

__________________
artos is offline
Send a message via Skype™ to artos
MilisyaTechlo
Member
Join Date: Feb 2011
Location: South Korea
Old 03-06-2011 , 08:04   Re: Is this work fine?
Reply With Quote #4

Quote:
Originally Posted by artos View Post
PHP Code:
#include <amxmodx>
#include <zombieplague>
 
#define PLUGIN "[ZP] Addons: Connect Respawn"
#define VERSION "1.0"
#define AUTHOR "MilisyaTechlo"
 
public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}
 
public 
client_connect(id)
{
    
rockstar_norazo(id)
}
 
public 
rockstar_norazo(id
{
    if(!
is_user_alive(id)) 
    {
        
zp_respawn_user(idZP_TEAM_ZOMBIE)
    }

i forgot client_connect. Thnx
MilisyaTechlo is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-07-2011 , 10:08   Re: Is this work fine?
Reply With Quote #5

wrong
make it to respawn a user after he joins team ct or t
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
MilisyaTechlo
Member
Join Date: Feb 2011
Location: South Korea
Old 03-07-2011 , 10:34   Re: Is this work fine?
Reply With Quote #6

Quote:
Originally Posted by georgik57 View Post
wrong
make it to respawn a user after he joins team ct or t
how to that? just use cs_get_user_team?
MilisyaTechlo is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-08-2011 , 15:23   Re: Is this work fine?
Reply With Quote #7

Code:
register_event("TeamInfo", "fwPlayerJoinedTeam", "a", "1=TERRORIST", "2=CT")
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
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 04:39.


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