// Hatch the pet
if(sd->inventory.u.items_inventory.attribute == 1) { pet_birth_process2( sd, p ); } else { // Hide egg from inventory. // Set pet egg to broken, before the inventory gets saved sd->inventory.u.items_inventory.attribute = 1; pet_birth_process( sd, p ); }
Question
leeroy
i have a little problem
my code get me after else
my egg attribute its 1
sorry for my bad en
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.