![]() |
|
#1
|
||||
|
||||
![]()
I guess my post was a bit misleading, I was merely referring to the source code of the very item function you created, not the source code of the entire functions_items.php file. For this case it is not a problem, but at some circumstances it may be time consuming to read through an entire script file. Id say just post the code that aint working is sufficient when bringing up a problem.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#2
|
||||
|
||||
![]()
Ah. I see! xP
Well, in that case, here's the code! :D PHP Code:
Here's the finished code :D: PHP Code:
Last edited by Hwona; 08-21-2013 at 04:48 PM. |
#3
|
||||
|
||||
![]()
I already explained why it wasn't working, see the post above Hall Of Famer's. Your switch case is wrong
case "f": .... ^ The switch-case only does the code (update thingy) you have after it if your adopt's gender is female. So it will only change the gender from female to female. You need to change it to case "m". Last edited by IntoRain; 08-21-2013 at 05:12 PM. |
#4
|
||||
|
||||
![]()
Yeah, I edited my last post. Anyways, thank you so much! I probably would have kept changing the code and fixing nothing if you didn't point that out. >^.^<
|
#5
|
||||
|
||||
![]()
Yay that's great! :D
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with a item function | kristhasirah | Questions and Supports | 35 | 04-03-2017 10:17 AM |
Mys v1.3.4 Item Function: Gender Change Potion | Kyttias | Mys v1.3.x Mods | 21 | 10-12-2016 07:52 PM |
Calling a function in a function from the same class page | Hwona | Questions and Supports | 2 | 04-25-2015 08:41 AM |
Item Function Suggestions | NobodysHero | Suggestions and Feature Requests | 5 | 06-23-2014 03:45 AM |
What's New? |
What's Hot? |
What's Popular? |