Raised This Month: $ Target: $400
 0% 

How to create 3random possibilites with random_num??? Help needed.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-24-2012 , 12:51   Re: How to create 3random possibilites with random_num??? Help needed.
Reply With Quote #4

Quote:
Originally Posted by pokemonmaster View Post
shouldn't it be?
PHP Code:
switch(number)
    {
        case 
90..100:
        {
// give deagle
        
}
        case 
45..89:
        {
// give fiveseven
        
}
        case 
0..44:
        {
// give glock 
Yes but you forgot to close all your braces.
__________________
fysiks is offline
 



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 06:19.


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