Raised This Month: $ Target: $400
 0% 

No me anda zombie clot


  
 
 
Thread Tools Display Modes
Author Message
MisterDeath
BANNED
Join Date: Sep 2010
Location: pico pal q lee
Old 07-18-2011 , 20:55   No me anda zombie clot
#1

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <zombie_plague_advance>
#include < hamsandwich >
#include <engine>

static const zname[] = "Zombie Clot";
static const 
zinfo[] = "Te aturde la vista Ctm";
static const 
zmodel[] = "zombie_clot";
static const 
zweapmodel[] = "v_knife_clot.mdl";
const 
zhealth 300000;
const 
zspeed 240;
const 
Float:zgravity 1.0;
const 
Float:zknockback 1.0;


#define is_valid_player(%1) (1 <= %1 <= 32)

new g_rage;

public 
plugin_precache()
    
g_rage zp_register_zombie_class(znamezinfozmodelzweapmodelzhealthzspeedzgravityzknockback);
    
public 
plugin_init()
{
    
register_plugin("[ZP] Class: Clot""1.0""MisterDeath");
    
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage")
}

public 
fw_TakeDamage(victiminflictorattackerFloat:damage)
{

if (
zp_get_user_zombie_class(id) == g_clot)
{    

if ( 
is_valid_playerattacker ))
{

entity_set_vector(victimEV_VEC_punchangleFloat:{ - 20.00.0, -20.0 })

}
}

Quisiera saber que esta malo porque no aturde la vista el zm

Last edited by MisterDeath; 07-18-2011 at 21:05.
MisterDeath is offline
fpA
Senior Member
Join Date: May 2011
Location: Zaragoza
Old 07-18-2011 , 21:43   Re: No me anda zombie clot
#2

Te acomode las tabulaciones y arregle de :

PHP Code:
new g_rage
-->

PHP Code:
new g_clot
Si nos dejas el include quizas pueda hacer algo, sin el no puedo.

PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <hamsandwich >
#include <zombie_plague_advance>

static const zname[] = "Zombie Clot";
static const 
zinfo[] = "Te aturde la vista Ctm";
static const 
zmodel[] = "zombie_clot";
static const 
zweapmodel[] = "v_knife_clot.mdl";
const 
zhealth 300000;
const 
zspeed 240;
const 
Float:zgravity 1.0;
const 
Float:zknockback 1.0;

#define is_valid_player(%1) (1 <= %1 <= 32)

new g_clot;

public 
plugin_precache()

    
g_rage zp_register_zombie_class(znamezinfozmodelzweapmodelzhealthzspeedzgravityzknockback);
    
public 
plugin_init()
{
    
register_plugin("[ZP] Class: Clot""1.0""MisterDeath");
    
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage")
}

public 
fw_TakeDamage(victiminflictorattackerFloat:damage)
{

    if (
zp_get_user_zombie_class(id) == g_clot)
    {    

        if ( 
is_valid_playerattacker ))
        {

            
entity_set_vector(victimEV_VEC_punchangleFloat:{ - 20.00.0, -20.0 })

        }
    }    


Last edited by fpA; 07-18-2011 at 21:45.
fpA is offline
Send a message via Skype™ to fpA
rubee
Senior Member
Join Date: Oct 2009
Location: party rocking
Old 07-18-2011 , 22:40   Re: No me anda zombie clot
#3

PHP Code:
if (zp_get_user_zombie_class(id) == g_rage
__________________


rubee is offline
_Venganza_
Senior Member
Join Date: Apr 2011
Location: Valparaiso, Chile
Old 07-18-2011 , 23:08   Re: No me anda zombie clot
#4

PHP Code:
new g_clot;

g_rage zp_register_zombie_class(znamezinfozmodelzweapmodelzhealthzspeedzgravityzknockback); 
_Venganza_ is offline
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 07-20-2011 , 17:56   Re: No me anda zombie clot
#5

Me ubieras dicho a mi y te paso el mio -.-

ademas en ese code no definiste quien es la victima osea seria si el ataca y la victima no es nadien para que le setees ese punchangle

haz un if asi: if(!zp_get_user_zombie(victim)
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.

Last edited by DJHD!; 07-20-2011 at 17:58.
DJHD! is offline
Send a message via MSN to DJHD!
xhiino
Senior Member
Join Date: Oct 2009
Location: santiasko
Old 07-20-2011 , 18:10   Re: No me anda zombie clot
#6

Viste ... eso pasa por cambiarle de nombre a un plugin ...
__________________
xhiino is offline
Send a message via MSN to xhiino
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-21-2011 , 03:06   Re: No me anda zombie clot
#7

Há, no pasa mucho y ya lo quieren hacer, bravo, que mentes más abiertas, cada vez salen mas ingenieros en este mundo.

Ademas de que le falta mucho para parecerse al mio en estructura interna.

Otro server más para tirar.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 07-21-2011 , 03:13   Re: No me anda zombie clot
#8

Quote:
Originally Posted by meTaLiCroSS View Post
Há, no pasa mucho y ya lo quieren hacer, bravo, que mentes más abiertas, cada vez salen mas ingenieros en este mundo.

Ademas de que le falta mucho para parecerse al mio en estructura interna.

Otro server más para tirar.
No entiendo porque atacar en cada respuesta

Si copian tus ideas siéntete orgulloso que les gusta lo que haces, ahora que sea parecido al tuyo o no (hablando del código) es otra cosa. Pero tampoco decir lo que dices ya que no todos tenemos(si me incluyo) el mismo conocimiento y podemos pensar, crear lo mismo de forma diferente, ahora quien lo haga más eficiente eso depende como dije antes,d el conocimiento.
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
fpA
Senior Member
Join Date: May 2011
Location: Zaragoza
Old 07-21-2011 , 06:42   Re: No me anda zombie clot
#9

Quote:
Originally Posted by meTaLiCroSS View Post
Otro server más para tirar.
De momento, hoy he visto 3 comentarios tuyos, los 3 ofensivos, ¿porque?.
fpA is offline
Send a message via Skype™ to fpA
MisterDeath
BANNED
Join Date: Sep 2010
Location: pico pal q lee
Old 07-21-2011 , 08:58   Re: No me anda zombie clot
#10

Quote:
Originally Posted by meTaLiCroSS View Post
Há, no pasa mucho y ya lo quieren hacer, bravo, que mentes más abiertas, cada vez salen mas ingenieros en este mundo.

Ademas de que le falta mucho para parecerse al mio en estructura interna.

Otro server más para tirar.
Te crees muy listo verdad? pero te falta...

En primer lugar no quiero plagearte, tu comunidad es grande y los pequeñitos quieren copiarte o nose, pero no soy uno de esos... mira si vai a comentar WEAS que no sirve para nada, guardatelos porque no aportan nada... me incluyo pero paso ya...

Ademas para que mierda estas aca??? "NO APRENDI PARA ENSEÑARLES NI AYUDARLOS" yo estoy pidiendo ayuda no estoy pidiendo tus weas comentarios que no ayudan en nada, asi que si quieres criticar andate al offtopic... que no sea ami

No aprendimos sabiendo todo, pero estamos para aprender y solo pido ayuda nada mas...

Ah mi server no sera para tirar, sera bueno.

y otra cosa mas tu te pareces a Killing floor, left 4 dead y resident evil juntos... que raro no?
asi que no hables de copiar ideas

Last edited by MisterDeath; 07-21-2011 at 09:02.
MisterDeath is offline
 



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 11:45.


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