![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]()
Currently I have this which says if you have more than 5 eggs you can't adopt.
Code:
$stmt = $adopts->query("SELECT * FROM ".constant("PREFIX")."owned_adoptables WHERE owner='".$loggedinname."' AND currentlevel<='3' AND isfrozen='no'"); $data = $stmt->fetchAll(); $num = count($data); if($num >= 5){ $canadopt = "no"; $article_title = "Too many eggs!"; $article_content = "You already have too many eggs to take care of! Come back once you have hatched an egg!"; } |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Number of Pet Colors? | Glow | Feedback and Suggestions | 4 | 12-12-2014 08:27 PM |
Number of times the user can adopt the pet? | Clessidra | Questions and Supports | 4 | 06-16-2013 09:23 PM |
Limting Number of Adoptions | GuardiansWish | Questions and Supports | 6 | 10-15-2012 05:56 PM |
Level Up automaticly when it get a number of clicks? | Blues | Questions and Supports | 1 | 07-26-2009 09:08 AM |
Freezing and limiting adoptables | Seapyramid | Questions and Supports | 13 | 04-19-2009 05:06 PM |
What's New? |
What's Hot? |
What's Popular? |