Raised This Month: $ Target: $400
 0% 

Optimize this..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
quelospario
BANNED
Join Date: Dec 2009
Old 06-26-2010 , 17:52   Optimize this..
Reply With Quote #1

PHP Code:
static nextclassLvl[33]
Lvl[id] = random_num(0200)

switch(
Lvl[id])
{
      case 
0..24nextclass 25-Lvl[id]
      case 
25..49nextclass 50-Lvl[id]
      case 
50..74nextclass 75-Lvl[id]
      case 
75..99nextclass 100-Lvl[id]
      case 
100.124nextclass 125-Lvl[id]
      case 
125..149nextclass 150-Lvl[id]
      case 
150..174nextclass 175-Lvl[id]
      case 
175..199nextclass 200-Lvl[id]
      default: 
nextclass 999
}
     
client_print(0print_chat,"NextLevelClass: %d"nextclass
quelospario is offline
 


Thread Tools
Display Modes

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 14:50.


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