View Single Post
  #3  
Old 05-04-2011, 01:20 PM
mapleblade mapleblade is offline
Epicness sausage
 
Join Date: May 2009
Posts: 180
Gender: Male
Credits: 19,931
mapleblade
Default

u have to have all 3 numbers to get a prize, that was meant to be

well, my base is coded like if slot1 =2 and slot2=2 and slot3=2 , then u will get a price, its easy to change tough. as u see this code
PHP Code:
if($slot1 == && $slot2 == && $slot3 == 1){
    
$reward 20;
    } 
You could in example change it to your likings i.e
PHP Code:
if($slot2 == && $slot3 == 1){
    
$reward 20;
    } 
this gives 20 coins when slot 2 and 3 are 1, try messing around with it, its easy :)
__________________
Need coding help? send me a PM! :)
Reply With Quote