![]() |
Could some one code this..?
So, on my site, I'd like to make it so that a user can only own one growing pet at a time. So, they adopt their first pet, then it must reach it's maximum level ('3' in most cases; 0, 1, 2, 3) before they can adopt another pet. Would someone be able to code this for me? I can offer art, line art, shading of a line art, writing, or something as payment. Well, Thanks -Iris |
I think you're looking for something like what I have. The user can only have 5 eggs at a time. But you have to add it to breeding.php, the pound (which with the new script I haven't tried yet) doadopt.php and I think that's it. It's something like this though
Code:
$stmt = $adopts->query("SELECT * FROM ".constant("PREFIX")."owned_adoptables WHERE owner='".$loggedinname."' AND currentlevel<='3' AND isfrozen='no'"); |
Thank you so much! However, on which line should that go for each?
Thanks, -Iris |
This is the doadopt.php
Code:
<?php |
Huh, didn't seem to work properly. Now it keeps saying that the id was invalid, the id is 3, and it shows up in the url, but wasn't working. I reverted it to the original...hm...
|
Can you post the edited part?
|
All times are GMT -5. The time now is 04:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.