Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Bazooka + New Modes v1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
robijas
Junior Member
Join Date: Jul 2012
Old 07-29-2012 , 16:33   Re: [ZP] Bazooka + New Modes v1.6
Reply With Quote #1

L 07/29/2012 - 22:03:10: [AMXX] Run time error 10 (plugin "zp_bazooka_new_update.amxx") (native "attach_view") - debug not enabled!
robijas is offline
tubol16
Junior Member
Join Date: May 2013
Old 05-04-2013 , 03:59   Re: [ZP] Bazooka + New Modes v1.6
Reply With Quote #2

How to add this plugin???
Sry im just new at adding plugins like this
tubol16 is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-07-2010 , 13:32   Re: [ZP] Bazooka + New Modes
Reply With Quote #3

Quote:
Originally Posted by abdul-rehman View Post
Nice Job My friend
But you dont need the engine include if you have included fakemeta

Instead of this:
Code:
create_entity("info_target");

You can use this Code:
engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"));


2-Instead of this:
Code:
entity_set_int(ent, EV_INT_rendermode, 1)

You can use this:
Code:
set_pev(ent, pev_rendermode, 1)

Same goes for entity_set_vector/entity_get_vector/VelocityByAim

3-Instead of this :
Code:
attach_view(id, ent)

You can use FM's attach view function

And last
Instead of using Prethink to detect if the player pressed the fire key you can simply use FM_CmdStart forward and then check thier buttons through get_uc( UC_Handle, UC_Buttons) since it will be more effiecient and easy !!

Hope that you implement my suggestions in ur plugin
Wrong.

If you have functions in fakemeta that you can do in engine, DO IT in engine.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-08-2010 , 05:02   Re: [ZP] Bazooka + New Modes
Reply With Quote #4

Quote:
Originally Posted by meTaLiCroSS View Post
Wrong.

If you have functions in fakemeta that you can do in engine, DO IT in engine.
Ya i know that but in his plugin alot of things are seriiously un-effecient
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-08-2010 , 06:50   Re: [ZP] Bazooka + New Modes
Reply With Quote #5

Quote:
Originally Posted by abdul-rehman View Post
Ya i know that but in his plugin alot of things are seriiously un-effecient
Can you show me a list of all these things?

Quote:
Originally Posted by Kiryu Zero View Post
Bug with the countdown to recharge bazookas. If the change from 10 to 9 seconds, then it will count for 10 seconds. Also, if after the shot to take up arms again and then return to the bazooka, I saw only a knife, and only then if the charge bazooka again take up arms and return to the model bazooka bazookas appear.
And yet for some reason a lot of mistakes on threw bazooka:

L 11/07/2010 - 23:275: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 11/07/2010 - 23:275: [AMXX] Run time error 4 (plugin "zp_bazooka_new.amxx") - debug not enabled!
L 11/07/2010 - 23:275: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 11/07/2010 - 23:275: [AMXX] Run time error 4 (plugin "zp_bazooka_new.amxx") - debug not enabled!

and so where some 50 times. After this error does not write for that.
Debug set.
Add debug after amxx file and send errors again.
Vechta is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 11-08-2010 , 06:58   Re: [ZP] Bazooka + New Modes
Reply With Quote #6

Quote:
Also, if after the shot to take up arms again and then return to the bazooka, I saw only a knife, and only then if the charge bazooka again take up arms and return to the model bazooka bazookas appear
It has to be like that
__________________
edgaras85 is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-08-2010 , 09:10   Re: [ZP] Bazooka + New Modes
Reply With Quote #7

Quote:
Originally Posted by Vechta View Post
Can you show me a list of all these things?
Well, there alot of things about which i can help you but i dont have time
You should try to cache stuff as much as possible like is_user_alive and is_user_connected
Other than that, you should try to use FM_CmdStart to check if the player pressed the attack button bcoz the current one which you use is very, very badly coded and ineffecient
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-07-2010 , 04:22   Re: [ZP] Bazooka + New Modes
Reply With Quote #8

How can i create a entity with fakemeta?
Vechta is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-07-2010 , 04:32   Re: [ZP] Bazooka + New Modes
Reply With Quote #9

I already told you above but here is another example:
Code:
static ent ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))

And in the color chat function plzz remove this:
Code:
replace_all(msg,190,"/w","^0");// team txt
Bcoz it deosnt makes any sense !
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-07-2010 , 04:55   Re: [ZP] Bazooka + New Modes
Reply With Quote #10

And 1 thing more >.<

How can convert this line to fakemeta?
PHP Code:
 attach_view(entity_get_edict(entEV_ENT_owner), entity_get_edict(entEV_ENT_owner)) 
And i dont know whats the code for fakemeta i mean this one
PHP Code:
entity_get_edict 
Vechta 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 16:19.


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