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

Subplugin Submission [ZP 5.0] New Survivor (has skill) + Minigun!


Post New Thread Reply   
 
Thread Tools Display Modes
artos
Senior Member
Join Date: Mar 2010
Old 06-10-2012 , 12:17   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #11

Not working. When I press G nothing happens.
__________________
artos is offline
Send a message via Skype™ to artos
F0RCE
Senior Member
Join Date: Oct 2010
Old 07-09-2012 , 11:45   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #12

Agreed, this plugin isn't working at all.
F0RCE is offline
Old 07-09-2012, 13:00
cOMpirm
This message has been deleted by NiHiLaNTh. Reason: flame war!
F0RCE
Senior Member
Join Date: Oct 2010
Old 07-10-2012 , 15:55   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #13

Stop trolling around, just fix this plugin
F0RCE is offline
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 07-10-2012 , 17:49   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #14

fixed
Y060N is offline
Hyper Nova
BANNED
Join Date: May 2012
Old 07-10-2012 , 19:58   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #15

Why you ads your nonsteam server ip here, do you know that this is not allowed here?
Hyper Nova is offline
Old 07-11-2012, 03:15
gogicaa
This message has been deleted by NiHiLaNTh. Reason: flame war!
DeMNiX
Veteran Member
Join Date: Nov 2011
Location: Russia
Old 07-11-2012 , 04:23   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #16

Quote:
register_impulse(100, "surv_use_skill")
and you loose
Quote:
precache_model(model)
Remake to this. Impulse 100 = Flashlight, becouse some1 peoples have cvar
Quote:
zp_survivor_weapon_block 0 // Block weapons other than default
Anyway, thanks man.

Made a video: http://www.youtube.com/watch?feature...&v=E7kGv9yxtCk
__________________
My channel with test codes
https://www.youtube.com/user/demnix03

Zombie Riot [Scenario & bots-zombie 11.11.2023]
https://youtu.be/8ZZan-aq2sc

Last edited by DeMNiX; 07-11-2012 at 07:02.
DeMNiX is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-11-2012 , 18:45   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #17

Why don't you make the code from the force field follow survivor?
And why didn't you give credits to "Lucas" you used code from him?

PS: DeMNiX can you send me does alien models and hands? On PM or post please.
__________________

Last edited by H.RED.ZONE; 07-11-2012 at 18:46.
H.RED.ZONE is offline
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 07-11-2012 , 18:53   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #18

I got the code for the field from a friend of mine, didn't know "lucas" created it. And this is a code from when I was first starting to make things for my server, which I don't use anymore so I doubt I will update it. If you want to update it and use think and not the infamous infinite tasks you are known for, then go for it.

And why do you never say thank you Red.zone instead of just asking for additions?

Last edited by Y060N; 07-11-2012 at 18:54.
Y060N is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 07-11-2012 , 20:35   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #19

thx dude work fine...
wicho is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-11-2012 , 20:59   Re: [ZP 5.0] New Survivor (has skill) + Minigun!
Reply With Quote #20

Quote:
Originally Posted by Y060N View Post
I got the code for the field from a friend of mine, didn't know "lucas" created it.
Lol force field grenade?

Quote:
Originally Posted by Y060N View Post
If you want to update it and use think and not the infamous infinite tasks you are known for, then go for it.
Nope i don't want to update it. And im known for infinite task and pre think where did you hear or seen that?

Quote:
Originally Posted by Y060N View Post
And why do you never say thank you Red.zone instead of just asking for additions?
Im not useing it and not working with zp for now. How ever im telling you to add lucas in credits beacuse of this...

Your force field...
PHP Code:
public crear_ent(id
{    
    new 
iEntity create_entity("info_target")
    
    if(!
is_valid_ent(iEntity))
        return 
PLUGIN_HANDLED
    
    g_LastUseTime
[id] = get_gametime()
    
print_chatColor(id"\g[eQuilibriumCS.com] \nYou have to wait %f seconds to use this again."get_pcvar_float(cvar_shield_cooldown))
    
    new 
FloatOrigin[3
    
entity_get_vector(idEV_VEC_originOrigin
    
    
entity_set_string(iEntityEV_SZ_classnameentclas)
    
    
    
    
entity_set_vector(iEntity,EV_VEC_originOrigin)
    
entity_set_model(iEntity,model)
    
entity_set_int(iEntityEV_INT_solidSOLID_TRIGGER)
    
entity_set_size(iEntityFloat: {-100.0, -100.0, -100.0}, Float: {100.0100.0100.0})
    
entity_set_int(iEntityEV_INT_renderfxkRenderFxGlowShell)
    
entity_set_int(iEntityEV_INT_rendermodekRenderTransAlpha)
    
entity_set_float(iEntityEV_FL_renderamt50.0)
        
    
entity_set_vector(iEntityEV_VEC_rendercolorCampoColors)
    
    
set_task(get_pcvar_float(cvar_shield_length), "DeleteEntity"iEntity)
    
    return 
PLUGIN_CONTINUE

This is his code.

PHP Code:
public crear_ent(id) {
    
    
_ClearBomb(id)
    
    
set_pcvar_num(_pcvar_flaregrenades,1)
    
    
// Create entitity
    
new iEntity create_entity("info_target")
    
    if(!
is_valid_ent(iEntity))
        return 
PLUGIN_HANDLED
    
    
new FloatOrigin[3
    
entity_get_vector(idEV_VEC_originOrigin
    
    
entity_set_string(iEntityEV_SZ_classnameentclas)
    
    
entity_set_vector(iEntity,EV_VEC_originOrigin)
    
entity_set_model(iEntity,model)
    
entity_set_int(iEntityEV_INT_solidSOLID_TRIGGER)
    
entity_set_size(iEntityFloat: {-100.0, -100.0, -100.0}, Float: {100.0100.0100.0})
    
entity_set_int(iEntityEV_INT_renderfxkRenderFxGlowShell)
    
entity_set_int(iEntityEV_INT_rendermodekRenderTransAlpha)
    
entity_set_float(iEntityEV_FL_renderamt50.0)
    
    
#if defined RANDOM_COLOR
    
if(is_valid_ent(iEntity))
    {
        new 
Float:vColor[3]
        
        for(new 
i3i++)
            
vColor[i] = random_float(0.0255.0)
        
        
entity_set_vector(iEntityEV_VEC_rendercolorvColor)
    }
    
#endif
    
    #if defined ONE_COLOR
    
entity_set_vector(iEntityEV_VEC_rendercolorCampoColors)
    
#endif
    
    #if defined CAMPO_TASK
    
set_task(get_pcvar_float(_pcvar_seconds), "DeleteEntity"iEntity)
    
#endif
    
    
    
return PLUGIN_CONTINUE;

Diffrence? Lets see....

I use my edited version of his bomb found on the last post...
1. Removed False bool in his case my bits.
2. Removed pointer in zp 50 pointer is removed because of zp5.0 diffrent cvars.
PHP Code:
    _ClearBomb(id)
    
    
set_pcvar_num(_pcvar_flaregrenades,1
Added message from your server a.k.a advertisement
PHP Code:
print_chatColor(id"\g[eQuilibriumCS.com] \nYou have to wait %f seconds to use this again."get_pcvar_float(cvar_shield_cooldown)) 
Removed code for random color...

PHP Code:
    if(is_valid_ent(iEntity))
    {
        new 
Float:vColor[3]
        
        for(new 
i3i++)
            
vColor[i] = random_float(0.0255.0)
        
        
entity_set_vector(iEntityEV_VEC_rendercolorvColor)
    } 
Now look at the code carefully other people can see it everything is the same only its defined by cvar sec that forcefield is removed so please add "Lucas" a.k.a lucas_7_94 in credits because that code is not from your friend its from lucas...

Next we have...

PHP Code:
public DeleteEntityentity )
    if( 
is_valid_ententity ) ) 
    
remove_entityentity ); 
PHP Code:
public DeleteEntity(entity)
{
    if(
is_valid_ent(entity)) 
        
remove_entity(entity)

Diffrence?

EDIT: I see you edited and finally added him. I wont continue posting because i proved my point.
I will not look at the code anymore.
__________________

Last edited by H.RED.ZONE; 07-11-2012 at 21:17.
H.RED.ZONE 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:26.


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