![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Does the pet you are looking at have a next level? For example, the maximum level I have on my test site for pets is level 4. If the pet is level 4, it has no next level, and therefore calling getNextLevel() would make the function, and therefore the variable holding the function, hold the value of FALSE, an empty value.
My recommended use of getNextLevel() would be something like: PHP Code:
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 04-25-2015 at 02:21 AM. |
#2
|
||||
|
||||
![]()
Thank you so much Kyttias! For some reason, that works perfectly! :D
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with a item function | kristhasirah | Questions and Supports | 35 | 04-03-2017 10:17 AM |
Item Function Suggestions | NobodysHero | Suggestions and Feature Requests | 5 | 06-23-2014 03:45 AM |
Add a new function in the myadopts page? | Infernette | Questions and Supports | 8 | 07-02-2013 12:12 PM |
Help in PHP function | lovejenete | Other Chat | 3 | 12-06-2009 08:46 AM |
What's New? |
What's Hot? |
What's Popular? |