Raised This Month: $ Target: $400
 0% 

[ZP] Jetpack + Bazooka 3.2 (Low CPU Usage)


Post New Thread Reply   
 
Thread Tools Display Modes
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-25-2011 , 19:09   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #21

well i got problem when i have jet and i turn to a Survivor , survivor still have jet anyone fix ???

(sorry my english very bad !!)
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 06-26-2011 , 02:56   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #22

And what about if player is Terrorist and he has a JP?
Podarok is offline
Trickzz
Member
Join Date: Jun 2011
Old 06-27-2011 , 09:35   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #23

Quote:
Originally Posted by Podarok View Post
And what about if player is Terrorist and he has a JP?
Zombie with Jetpack? oO
Trickzz is offline
borimirov
New Member
Join Date: Jun 2011
Old 06-29-2011 , 16:15   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #24

Somebody help me with this plugin I tried to make a bazooka to give AMO deal but if someone can do that I am very grateful please help
borimirov is offline
Balgaa
Senior Member
Join Date: Mar 2010
Old 07-15-2011 , 12:07   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #25

Quote:
Originally Posted by rodrigo286 View Post
(BEFORE)
PHP Code:
public pfn_touch(ptrptd) {
    if(
is_valid_ent(ptr)) {
        new 
classname[32]
        
entity_get_string(ptr,EV_SZ_classname,classname,31)
        
        if(
equal(classname"zp_jp_jetpack")) {
            if(
is_valid_ent(ptd)) {
                new 
id ptd
                
if(id && id 34) {
                    if(!
hasjet[id] && !zp_get_user_zombie(id) && alive[id]) {
                        
                        
hasjet[id] = 1
                        g_flyEnergy
[id] = get_pcvar_num(cvar_fly_max_engery)
                        
rocket[id] = true
                        client_cmd
(id,"spk items/gunpickup2.wav")
                        
engclient_cmd(id,"weapon_knife")
                        
switchmodel(id)
                        
remove_entity(ptr)
                    }
                }
            } 
(AFTER)
PHP Code:
public pfn_touch(ptrptd) {
    if(
is_valid_ent(ptr)) {
        new 
classname[32]
        
entity_get_string(ptr,EV_SZ_classname,classname,31)
        
        if(
equal(classname"zp_jp_jetpack")) {
            if(
is_valid_ent(ptd)) {
                new 
id ptd
                
if(id && id 34) {
                    if(!
hasjet[id] && !zp_get_user_zombie(id) && alive[id]) {
                        
                        
hasjet[id] = 1
                        rocket
[id] = true
                        client_cmd
(id,"spk items/gunpickup2.wav")
                        
engclient_cmd(id,"weapon_knife")
                        
switchmodel(id)
                        
remove_entity(ptr)
                    }
                }
            } 
But there are times q buy the jetpack and fly she does not, it happens sometimes, not all the time.

Thanks.

EDIT:

Possible FIX?

PHP Code:
public pfn_touch(ptrptd) {
    if(
is_valid_ent(ptr)) {
        new 
classname[32]
        
entity_get_string(ptr,EV_SZ_classname,classname,31)
        
        if(
equal(classname"zp_jp_jetpack")) {
            if(
is_valid_ent(ptd)) {
                new 
id ptd
                
if(id && id 34) {
                    if(!
hasjet[id] && !zp_get_user_zombie(id) && is_user_alive(id)) {
                        
                        
hasjet[id] = 1
                        g_flyEnergy
[id] = get_pcvar_num(cvar_fly_engery)
                        
rocket[id] = true
                        client_cmd
(id,"spk items/gunpickup2.wav")
                        
engclient_cmd(id,"weapon_knife")
                        
switchmodel(id)
                        
remove_entity(ptr)
                    }
                }
            } 
which edited one working fine?

i compilled last one and running now, don't know yet whether has problem or not...
Balgaa is offline
borimirov
New Member
Join Date: Jun 2011
Old 08-20-2011 , 03:44   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #26

and this is for get ammopack whean i hit zombie
borimirov is offline
sOnick
Senior Member
Join Date: Aug 2007
Old 09-24-2011 , 18:47   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #27

it's works fine, but how i do when i have any weapon and i click right click i want to shoot to bazooka
and not be forced to give the knife. you undestand what i say
__________________
I love zm servers
sOnick is offline
Old 10-06-2011, 09:00
yoyo992
This message has been deleted by NiHiLaNTh. Reason: Spambot!
Old 10-08-2011, 11:22
johnnyo
This message has been deleted by NiHiLaNTh. Reason: Spambot!
DarkNill
Junior Member
Join Date: Dec 2009
Old 11-24-2011 , 15:06   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #28

*EN*
Faced with an incomprehensible problem to me!
Sometimes jetpack refuses to function, there is at hand, but neither fly, nor do not want to shoot! (google tracslite, хули! )

*RUS*
Столкнулся с непонятной мне проблемой!
Иногда джетпак отказывается функционировать, есть в руках, но ни летать, ни стрелять не хочет!

P.S. NiHiLaNTh, так-как ты знаешь русский язык, думаю ты меня поймёшь и подскажешь.
__________________

Last edited by DarkNill; 11-24-2011 at 15:10.
DarkNill is offline
Send a message via ICQ to DarkNill Send a message via Skype™ to DarkNill
Balgaa
Senior Member
Join Date: Mar 2010
Old 01-13-2012 , 09:13   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #29

I got crash on Zombie plague 5.0.8, anything need to change?
Balgaa is offline
samurake
Member
Join Date: May 2011
Old 02-25-2012 , 13:29   Re: [ZP] Jetpack 3.2 (Low CPU Usage)
Reply With Quote #30

I have a problem with jetpack.It refuses to function,i reinstalled it 3 times but i have the same problem,no compile error,but when i buy jetpack,it is not functioning.
samurake 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 22:57.


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