Quote:
Originally Posted by draugluin
its a very interesting question. I've tried a item, which makes an adoptable male, but
PHP Code:
function items_male($item, $adopt){ // Update the gender info. $GLOBALS['adopts']->update("owned_adoptables", array("gender" => 'm'), "aid ='{$adopt->aid}' and owner='{$item->owner}'"); $note = "Its male now<br>"; //Update item quantity... $delitem = $item->removeitem(1, $item->owner); return $note; }
does'nt work. I've copied it from "breed1" which changes the "lastbred to 0" modified to "gender = m"
where is the fault???
|
I'll look into it a little when I get to school, have to leave in 20 minutes and need to get Math done I was suppose to last night ^^'
Unless of course you figure it out first :)
Edit: I have been messing with the code a bit and I can't seem to get it to work :( Sorry
__________________
I have some small tutorials
Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.