Kurofly Posted May 13, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share 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 Link to comment Share on other sites More sharing options...
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 KuroflyLink 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.