![]() |
#41
|
||||
|
||||
![]()
It does it every time though...
|
#42
|
|||
|
|||
![]()
Try this:
PHP Code:
|
#43
|
||||
|
||||
![]()
Aha :) Neato! Will you explain to me what it is and what it does? I like to know how everything works.
|
#44
|
|||
|
|||
![]()
XD Glad to.
Lets see to start I suppose I'l go over how the rarity thing actually works. First you'll see PHP Code:
Rare 1 in 100 Ultrarare 1 in 200 You can change the chances simply by the last(max) number of the rand function. Moving on to the actual selecting of the adoptables. You will see this: PHP Code:
Since the $onlyone variable is shown I'll go over what it does now. The reason for this variable is to check if a rarer adoptable(anything above common) is already selected to be shown. If one isn't chosen choose one if one is already chosen show a common one. I think the last piece is the $clicked variable that only allows you to click on(adopt) an egg once. This works by setting $clicked to 0 when the page is loaded When the egg is clicked the canclick function runs checking the value of clicked. If it is 0 then the egg is adopted if it is a 1 the user can not adopt it. I think I covered it. If you want/need more clarification fell free to ask. *is not confident I explained it really well* X3 |
#45
|
||||
|
||||
![]()
That is so cool! I love it! Thank you so much!
|
#46
|
|||
|
|||
![]()
:P You're welcome. I'm glad that I was able to be of service. X3
*thinking about asking you how to link a forum to my site like you have it.* |
#47
|
||||
|
||||
![]()
It's in the new mys script :p So unless you upgrade I wouldn't know how.
|
#48
|
||||
|
||||
![]()
@Alive - did you notice the sort doesn't work in FF? :(
|
![]() |
Thread Tools | |
Display Modes | |
|
|
What's New? |
What's Hot? |
What's Popular? |