Kurofly Posted May 13, 2015 Posted May 13, 2015 (edited) Hello everyone. In one of my scripts I would have to perform a sql table modification with the game id of a pet as the primary key. I would also have to perform it the moment I make the pet egg. So i wonder if someone could help me making the makepet/makeegg buildin_func return the game id of the pet created? Thanks in advance EDIT: SOLVED I solved my problem querying the pet sql data to get the last pet id just after having made one and it works fine. Sorry not to have thought about it sooner.. Edited May 13, 2015 by Kurofly Quote
Question
Kurofly
Hello everyone.
In one of my scripts I would have to perform a sql table modification with the game id of a pet as the primary key.
I would also have to perform it the moment I make the pet egg.
So i wonder if someone could help me making the makepet/makeegg buildin_func return the game id of the pet created?
Thanks in advance
EDIT: SOLVED
I solved my problem querying the pet sql data to get the last pet id just after having made one and it works fine.
Sorry not to have thought about it sooner..
Edited by Kurofly0 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.