Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Zombie Class: Crawler 1.4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-06-2010 , 05:47   Re: [ZP] Zombie Class: Crawler 1.0
Reply With Quote #4

Quote:
Originally Posted by wrecked_ View Post
The code is extremely redundant. You should merge your if() statements into one large one by using the OR operator ( || ), since they all have the same result if executed. This will be much more efficient.

Also, for the client_cmd( id, "-duck" ) that you use twice, you can replace two natives calls into one by using client_cmd( id, "-duck; -duck" ).
okay i'll optimize the code for those ifs
but the double "-duck" is a bug fix and i found it in this form in Sam's plugin
are u sure the way you said is the same?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
 



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:03.


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