Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Server Addon: Infection Mode 2.0 || Real Infection


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-05-2010 , 09:56   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #5

Instead of this in round start forward
Code:
if (!zp_is_swarm_round() && !zp_is_plague_round() && !zp_is_survivor_round() && !zp_is_nemesis_round() ... code)
You can simple check the game mode like this:
Code:
if (gamemode == MODE_INFECTION || gamemode == MODE_MULTI ... code)
so that it will be more effecient

And
Instead of fm_set_user_rendering, you should use set_user_rendering from the fun module since they will be more 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
 



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


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