Raised This Month: $ Target: $400
 0% 

Help with Optimization!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-31-2010 , 13:40   Re: Help with Optimization!
Reply With Quote #15

Quote:
Originally Posted by Alucard^ View Post
Something like this?

Code:
#define MAX_POWERS 5 enum {     NO_POWER = 0,     POWER_1,     POWER_2,     POWER_3 }; new g_Power[33]; public function(id) {     g_Power[id] = random_num(NO_POWER, POWER_3); } public FwdTakeDamage(id, iInflictor, iAttacker, Float:fDamage, iDamagebits) {     switch(g_Power[id])     {         case NO_POWER:  // stuff         case POWER_1:   // stuff         case POWER_2:   // sutff         case POWER_3:   // stuff     } }
Ya thats what i was trying to explain to him....but u cant set 2 human classes on one player because it is not in bits....
__________________

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 15:45.


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