Tallywa 35 Posted December 29, 2019 Share Posted December 29, 2019 Hello, I'm using DBManager::instance().DirectQuery("UPDATE player_shop SET gold=gold + %lld WHERE id=%d", dwPrice, m_pkPC->GetPrivShop()); in my shop.cpp function buy, I would like to modify it so that "gold" go in safebox column gold. Do you have any idea how to modify the request for that please? Link to comment Share on other sites More sharing options...
Premium Hunger 472 Posted December 29, 2019 Premium Share Posted December 29, 2019 Look for koray’s offline shop he has such function. Link to comment Share on other sites More sharing options...
Tallywa 35 Posted December 31, 2019 Author Share Posted December 31, 2019 Yes i know but, is not good, when fonction koray, gold in safebox are always 0 after a purchase Link to comment Share on other sites More sharing options...
Tallywa 35 Posted January 2, 2020 Author Share Posted January 2, 2020 solved Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now