Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-07-2010 , 04:20   Re: [ZP] Bazooka + New Modes
Reply With Quote #4

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
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 11-07-2010 at 04:28.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
 



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